12 #ifndef ROOT_TFFTComplexReal 13 #define ROOT_TFFTComplexReal 44 #include "TVirtualFFT.h" 68 virtual void Init( Option_t *flags, Int_t ,
const Int_t* );
71 virtual Int_t *
GetN()
const {
return fN;}
73 virtual Option_t *
GetType()
const {
return "C2R";}
74 virtual Int_t
GetSign()
const {
return -1;}
76 virtual Bool_t
IsInplace()
const {
if (fOut)
return kTRUE;
else return kFALSE;};
78 virtual void GetPoints(Double_t *data, Bool_t fromInput = kFALSE)
const;
79 virtual Double_t
GetPointReal(Int_t ipoint, Bool_t fromInput = kFALSE)
const;
80 virtual Double_t
GetPointReal(
const Int_t *ipoint, Bool_t fromInput = kFALSE)
const;
81 virtual void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE)
const;
82 virtual void GetPointComplex(
const Int_t *ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE)
const;
83 virtual Double_t*
GetPointsReal(Bool_t fromInput=kFALSE)
const;
84 virtual void GetPointsComplex(Double_t *re, Double_t *im, Bool_t fromInput = kFALSE)
const ;
85 virtual void GetPointsComplex(Double_t *data, Bool_t fromInput = kFALSE)
const ;
87 virtual void SetPoint(Int_t ipoint, Double_t re, Double_t im = 0);
88 virtual void SetPoint(
const Int_t *ipoint, Double_t re, Double_t im = 0);
89 virtual void SetPoints(
const Double_t *data);
virtual Double_t * GetPointsReal(Bool_t fromInput=kFALSE) const
Returns the array of computed transform Works only for output (input array is destroyed in a C2R tran...
virtual void SetPointComplex(Int_t ipoint, TComplex &c)
since the input must be complex-Hermitian, if the ipoint > n/2, the according point before n/2 is set...
virtual Option_t * GetTransformFlag() const
virtual Bool_t IsInplace() const
virtual Option_t * GetType() const
virtual Int_t * GetN() const
virtual void Init(Option_t *flags, Int_t, const Int_t *)
Creates the fftw-plan.
virtual ~TFFTComplexReal()
Destroys the data arrays and the plan.
virtual void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE) const
Works only for output (input array is destroyed in a C2R transform)
virtual void SetPoints(const Double_t *data)
set all points.
virtual void SetPoint(Int_t ipoint, Double_t re, Double_t im=0)
since the input must be complex-Hermitian, if the ipoint > n/2, the according point before n/2 is set...
virtual void Transform()
Computes the transform, specified in Init() function.
virtual Double_t GetPointReal(Int_t ipoint, Bool_t fromInput=kFALSE) const
Returns the point #ipoint Works only for output (input array is destroyed in a C2R transform) ...
virtual void GetPointsComplex(Double_t *re, Double_t *im, Bool_t fromInput=kFALSE) const
Fills the argument array with the computed transform Works only for output (input array is destroyed ...
virtual Int_t GetNdim() const
UInt_t MapFlag(Option_t *flag)
allowed options: "ES" - FFTW_ESTIMATE "M" - FFTW_MEASURE "P" - FFTW_PATIENT "EX" - FFTW_EXHAUSTIVE ...
virtual void SetPointsComplex(const Double_t *re, const Double_t *im)
Set all points. The values are copied.
virtual void GetPoints(Double_t *data, Bool_t fromInput=kFALSE) const
Fills the argument array with the computed transform Works only for output (input array is destroyed ...
virtual Int_t GetSize() const
virtual Int_t GetSign() const