12 #ifndef ROOT_TFFTComplex 13 #define ROOT_TFFTComplex 42 #include "TVirtualFFT.h" 63 TFFTComplex(Int_t ndim, Int_t *n, Bool_t inPlace = kFALSE);
66 virtual void Init(Option_t *flags, Int_t sign,
const Int_t* );
68 virtual Int_t *
GetN()
const {
return fN;}
71 virtual Option_t *
GetType()
const {
if (fSign==-1)
return "C2CBackward";
else return "C2CForward";}
74 virtual Bool_t
IsInplace()
const {
if (fOut)
return kTRUE;
else return kFALSE;};
76 virtual void GetPoints(Double_t *data, Bool_t fromInput = kFALSE)
const;
78 virtual Double_t
GetPointReal(
const Int_t* , Bool_t )
const{
return 0;}
79 virtual void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE)
const;
80 virtual void GetPointComplex(
const Int_t *ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE)
const;
82 virtual void GetPointsComplex(Double_t *re, Double_t *im, Bool_t fromInput = kFALSE)
const ;
83 virtual void GetPointsComplex(Double_t *data, Bool_t fromInput = kFALSE)
const ;
85 virtual void SetPoint(Int_t ipoint, Double_t re, Double_t im = 0);
86 virtual void SetPoint(
const Int_t *ipoint, Double_t re, Double_t im = 0);
87 virtual void SetPoints(
const Double_t *data);
virtual Int_t GetSize() const
virtual void GetPointsComplex(Double_t *re, Double_t *im, Bool_t fromInput=kFALSE) const
Copies real and imaginary parts of the output (input) into the argument arrays.
virtual void SetPoint(Int_t ipoint, Double_t re, Double_t im=0)
sets real and imaginary parts of point # ipoint
virtual void Init(Option_t *flags, Int_t sign, const Int_t *)
Creates the fftw-plan.
virtual Int_t GetNdim() const
virtual void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE) const
returns real and imaginary parts of the point #ipoint
virtual Option_t * GetType() const
virtual Int_t * GetN() const
virtual void SetPointComplex(Int_t ipoint, TComplex &c)
virtual void Transform()
Computes the transform, specified in Init() function.
virtual Int_t GetSign() const
virtual Bool_t IsInplace() const
UInt_t MapFlag(Option_t *flag)
allowed options: "ES" - FFTW_ESTIMATE "M" - FFTW_MEASURE "P" - FFTW_PATIENT "EX" - FFTW_EXHAUSTIVE ...
virtual void GetPoints(Double_t *data, Bool_t fromInput=kFALSE) const
Copies the output(or input) into the argument array.
virtual ~TFFTComplex()
Destroys the data arrays and the plan.
virtual Double_t GetPointReal(Int_t, Bool_t) const
virtual Double_t GetPointReal(const Int_t *, Bool_t) const
virtual void SetPoints(const Double_t *data)
set all points.
virtual Option_t * GetTransformFlag() const
virtual void SetPointsComplex(const Double_t *re, const Double_t *im)
set all points. the values are copied
virtual Double_t * GetPointsReal(Bool_t) const