library: libFFTW
#include "TFFTComplex.h"

TFFTComplex


class description - header file - source file - inheritance tree (.pdf)

class TFFTComplex : public TVirtualFFT

Inheritance Chart:
TObject
<-
TVirtualFFT
<-
TFFTComplex

    protected:
UInt_t MapFlag(Option_t* flag) public:
TFFTComplex() TFFTComplex(Int_t n, Bool_t inPlace) TFFTComplex(Int_t ndim, Int_t* n, Bool_t inPlace = kFALSE) TFFTComplex(const TFFTComplex&) virtual ~TFFTComplex() static TClass* Class() virtual Int_t* GetN() const virtual Int_t GetNdim() const virtual void GetPointComplex(Int_t ipoint, Double_t& re, Double_t& im, Bool_t fromInput = kFALSE) const virtual void GetPointComplex(const Int_t* ipoint, Double_t& re, Double_t& im, Bool_t fromInput = kFALSE) const virtual Double_t GetPointReal(Int_t, Bool_t) const virtual Double_t GetPointReal(const Int_t*, Bool_t) const virtual void GetPoints(Double_t* data, Bool_t fromInput = kFALSE) const virtual void GetPointsComplex(Double_t* re, Double_t* im, Bool_t fromInput = kFALSE) const virtual void GetPointsComplex(Double_t* data, Bool_t fromInput = kFALSE) const virtual Double_t* GetPointsReal(Bool_t) const virtual Int_t GetSign() const virtual Int_t GetSize() const virtual Option_t* GetTransformFlag() const virtual Option_t* GetType() const virtual void Init(Option_t* flags, Int_t sign, const Int_t*) virtual TClass* IsA() const virtual Bool_t IsInplace() const TFFTComplex& operator=(const TFFTComplex&) virtual void SetPoint(Int_t ipoint, Double_t re, Double_t im = 0) virtual void SetPoint(const Int_t* ipoint, Double_t re, Double_t im = 0) virtual void SetPointComplex(Int_t ipoint, TComplex& c) virtual void SetPoints(const Double_t* data) virtual void SetPointsComplex(const Double_t* re, const Double_t* im) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void Transform()

Data Members


    protected:
void* fIn input array void* fOut output array void* fPlan fftw plan (the plan how to compute the transform) Int_t fNdim number of dimensions Int_t fTotalSize total size of the transform Int_t* fN transform sizes in each dimension Int_t fSign sign of the exponent of the transform (-1 is FFTW_FORWARD and +1 FFTW_BACKWARD) Option_t* fFlags transform flags

Class Description

TFFTComplex()
default
TFFTComplex(Int_t n, Bool_t inPlace)
For 1d transforms
Allocates memory for the input array, and, if inPlace = kFALSE, for the output array
TFFTComplex(Int_t ndim, Int_t *n, Bool_t inPlace)
For multidim. transforms
Allocates memory for the input array, and, if inPlace = kFALSE, for the output array
~TFFTComplex()
Destroys the data arrays and the plan. However, some plan information stays around
until the root session is over, and is reused if other plans of the same size are
created
void Transform()
Computes the transform, specified in Init() function
void GetPoints(Double_t *data, Bool_t fromInput)
Copies the output(or input) into the argument array
void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput)
returns real and imaginary parts of the point #ipoint
void GetPointComplex(const Int_t *ipoint, Double_t &re, Double_t &im, Bool_t fromInput)
For multidimensional transforms. Returns real and imaginary parts of the point #ipoint
void GetPointsComplex(Double_t *re, Double_t *im, Bool_t fromInput)
Copies real and imaginary parts of the output (input) into the argument arrays
void GetPointsComplex(Double_t *data, Bool_t fromInput)
Copies the output(input) into the argument array
void SetPoint(Int_t ipoint, Double_t re, Double_t im)
sets real and imaginary parts of point # ipoint
void SetPoint(const Int_t *ipoint, Double_t re, Double_t im)
For multidim. transforms. Sets real and imaginary parts of point # ipoint
void SetPointComplex(Int_t ipoint, TComplex &c)
void SetPoints(const Double_t *data)
set all points. the values are copied. points should be ordered as follows:
[re_0, im_0, re_1, im_1, ..., re_n, im_n)
void SetPointsComplex(const Double_t *re_data, const Double_t *im_data)
set all points. the values are copied
UInt_t MapFlag(Option_t *flag)
allowed options:
"ES" - FFTW_ESTIMATE
"M" - FFTW_MEASURE
"P" - FFTW_PATIENT
"EX" - FFTW_EXHAUSTIVE
TFFTComplex()
Int_t GetNdim()
Int_t GetSize()
Int_t GetSign()
Bool_t IsInplace()

Author: Anna Kreshuk 07/4/2006
Last update: root/fft:$Name: $:$Id: TFFTComplex.cxx,v 1.3 2006/04/11 12:50:04 rdm Exp $
Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.