4#ifndef ROOT_TVirtualFFT
5#define ROOT_TVirtualFFT
#define ClassDef(name, id)
Mother of all ROOT objects.
TVirtualFFT is an interface class for Fast Fourier Transforms.
virtual ~TVirtualFFT()
destructor
static void SetDefaultFFT(const char *name="")
static: set name of default fft
static void SetTransform(TVirtualFFT *fft)
static: set the current transfrom to parameter
virtual Bool_t IsInplace() const =0
virtual void GetPointComplex(const Int_t *ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE) const =0
virtual void GetPoints(Double_t *data, Bool_t fromInput=kFALSE) const =0
virtual Double_t GetPointReal(const Int_t *ipoint, Bool_t fromInput=kFALSE) const =0
virtual void Init(Option_t *flag, Int_t sign, const Int_t *kind)=0
static TVirtualFFT * FFT(Int_t ndim, Int_t *n, Option_t *option)
Returns a pointer to the FFT of requested size and type.
static TVirtualFFT * GetCurrentTransform()
static: return current fgFFT
virtual Int_t GetNdim() const =0
virtual void SetPoints(const Double_t *data)=0
static TVirtualFFT * SineCosine(Int_t ndim, Int_t *n, Int_t *r2rkind, Option_t *option)
Returns a pointer to a sine or cosine transform of requested size and kind.
virtual void SetPointsComplex(const Double_t *re, const Double_t *im)=0
virtual Option_t * GetTransformFlag() const =0
virtual Option_t * GetType() const =0
virtual void Transform()=0
virtual void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput=kFALSE) const =0
virtual void SetPoint(const Int_t *ipoint, Double_t re, Double_t im=0)=0
virtual void GetPointsComplex(Double_t *data, Bool_t fromInput=kFALSE) const =0
virtual void GetPointsComplex(Double_t *re, Double_t *im, Bool_t fromInput=kFALSE) const =0
virtual Double_t * GetPointsReal(Bool_t fromInput=kFALSE) const =0
virtual Int_t GetSign() const =0
virtual Int_t * GetN() const =0
virtual void SetPointComplex(Int_t ipoint, TComplex &c)=0
static TVirtualFFT * fgFFT
virtual Double_t GetPointReal(Int_t ipoint, Bool_t fromInput=kFALSE) const =0
virtual void SetPoint(Int_t ipoint, Double_t re, Double_t im=0)=0
static const char * GetDefaultFFT()
static: return the name of the default fft