12 #ifndef ROOT_TFFTRealComplex 13 #define ROOT_TFFTRealComplex 47 #include "TVirtualFFT.h" 70 virtual void Init( Option_t *flags, Int_t ,
const Int_t* );
73 virtual Int_t *
GetN()
const {
return fN;}
75 virtual Option_t *
GetType()
const {
return "R2C";}
78 virtual Bool_t
IsInplace()
const {
if (fOut)
return kTRUE;
else return kFALSE;};
80 virtual void GetPoints(Double_t *data, Bool_t fromInput = kFALSE)
const;
81 virtual Double_t
GetPointReal(Int_t ipoint, Bool_t fromInput = kFALSE)
const;
82 virtual Double_t
GetPointReal(
const Int_t *ipoint, Bool_t fromInput = kFALSE)
const;
83 virtual void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE)
const;
84 virtual void GetPointComplex(
const Int_t *ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE)
const;
85 virtual Double_t *
GetPointsReal(Bool_t fromInput=kFALSE)
const;
86 virtual void GetPointsComplex(Double_t *re, Double_t *im, Bool_t fromInput = kFALSE)
const ;
87 virtual void GetPointsComplex(Double_t *data, Bool_t fromInput = kFALSE)
const ;
89 virtual void SetPoint(Int_t ipoint, Double_t re, Double_t im = 0);
90 virtual void SetPoint(
const Int_t *ipoint, Double_t re, Double_t im = 0);
91 virtual void SetPoints(
const Double_t *data);
virtual Double_t * GetPointsReal(Bool_t fromInput=kFALSE) const
Returns the input array// One of the interface classes to the FFTW package, can be used directly or v...
virtual void GetPoints(Double_t *data, Bool_t fromInput=kFALSE) const
Fills the array data with the computed transform.
virtual ~TFFTRealComplex()
Destroys the data arrays and the plan.
virtual Double_t GetPointReal(Int_t ipoint, Bool_t fromInput=kFALSE) const
Returns the real part of the point #ipoint from the output or the point #ipoint from the input...
virtual void Transform()
Computes the transform, specified in Init() function.
virtual void GetPointsComplex(Double_t *re, Double_t *im, Bool_t fromInput=kFALSE) const
Fills the argument arrays with the real and imaginary parts of the computed transform.
virtual void SetPoint(Int_t ipoint, Double_t re, Double_t im=0)
Set the point #ipoint.
virtual Option_t * GetType() const
virtual void Init(Option_t *flags, Int_t, const Int_t *)
Creates the fftw-plan.
virtual void SetPoints(const Double_t *data)
Set all input points.
virtual void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE) const
Returns the point #ipoint.
virtual Int_t GetSize() const
UInt_t MapFlag(Option_t *flag)
allowed options: "ES" "M" "P" "EX"
virtual Option_t * GetTransformFlag() const
virtual Int_t GetNdim() const
virtual void SetPointsComplex(const Double_t *re, const Double_t *im)
Set all points. Only the real array is used.
virtual void SetPointComplex(Int_t ipoint, TComplex &c)
Sets the point #ipoint (only the real part of the argument is taken)
virtual Int_t GetSign() const
virtual Bool_t IsInplace() const
virtual Int_t * GetN() const