library: libFFTW
#include "TFFTReal.h"

TFFTReal


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

class TFFTReal : public TVirtualFFT

Inheritance Chart:
TObject
<-
TVirtualFFT
<-
TFFTReal

    protected:
UInt_t MapFlag(Option_t* flag) Int_t MapOptions(const Int_t* kind) public:
TFFTReal() TFFTReal(Int_t n, Bool_t inPlace = kFALSE) TFFTReal(Int_t ndim, Int_t* n, Bool_t inPlace = kFALSE) TFFTReal(const TFFTReal&) virtual ~TFFTReal() static TClass* Class() virtual Int_t* GetN() const virtual Int_t GetNdim() const virtual void GetPointComplex(const Int_t* ipoint, Double_t& re, Double_t& im, Bool_t fromInput = kFALSE) const virtual void GetPointComplex(Int_t ipoint, Double_t& re, Double_t& im, Bool_t fromInput = kFALSE) const virtual Double_t GetPointReal(Int_t ipoint, Bool_t fromInput = kFALSE) const virtual Double_t GetPointReal(const Int_t* ipoint, Bool_t fromInput = kFALSE) const virtual void GetPoints(Double_t* data, Bool_t fromInput = kFALSE) const virtual void GetPointsComplex(Double_t*, Double_t*, Bool_t) const virtual void GetPointsComplex(Double_t*, Bool_t) const virtual Double_t* GetPointsReal(Bool_t fromInput = kFALSE) 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* kind) virtual TClass* IsA() const virtual Bool_t IsInplace() const TFFTReal& operator=(const TFFTReal&) 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) virtual void SetPointComplex(Int_t, TComplex&) virtual void SetPoints(const Double_t* data) virtual void SetPointsComplex(const Double_t*, const Double_t*) 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 void* fKind transform kinds in each dimension Option_t* fFlags transform flags

Class Description

TFFTReal()
default
TFFTReal(Int_t n, Bool_t inPlace)
For 1d transforms
n here is the physical size of the transform (see FFTW manual for more details)
TFFTReal(Int_t ndim, Int_t *n, Bool_t inPlace)
For multidimensional transforms
1st parameter is the # of dimensions,
2nd is the sizes (physical) of the transform in each dimension
~TFFTReal()
clean-up
void Transform()
Computes the transform, specified in Init() function
Option_t * GetType()
Returns the type of the transform
void GetPoints(Double_t *data, Bool_t fromInput)
Copies the output (or input) points into the provided array, that should
be big enough
Double_t GetPointReal(Int_t ipoint, Bool_t fromInput)
For 1d tranforms. Returns point #ipoint
Double_t GetPointReal(const Int_t *ipoint, Bool_t fromInput)
For multidim.transforms. Returns point #ipoint
void GetPointComplex(Int_t ipoint, Double_t &re, Double_t &im, Bool_t fromInput)
Only for input of HC2R and output of R2HC
void GetPointComplex(const Int_t *ipoint, Double_t &re, Double_t &im, Bool_t fromInput)
Only for input of HC2R and output of R2HC and for 1d
Double_t* GetPointsReal(Bool_t fromInput)
Returns the output (or input) array
void SetPoint(Int_t ipoint, Double_t re, Double_t im)
void SetPoints(const Double_t *data)
Sets all points
Int_t MapOptions(const Int_t *kind)
transfers the r2r_kind parameters to fftw type
UInt_t MapFlag(Option_t *flag)
allowed options:
"ES" - FFTW_ESTIMATE
"M" - FFTW_MEASURE
"P" - FFTW_PATIENT
"EX" - FFTW_EXHAUSTIVE
TFFTReal()
void Init( Option_t *flags,Int_t sign, const Int_t *kind)
Int_t GetSize()
Int_t GetNdim()
Int_t GetSign()
Bool_t IsInplace()
void SetPoint(Int_t ipoint, Double_t re, Double_t im = 0)

Author: Anna Kreshuk 07/4/2006
Last update: root/fft:$Name: $:$Id: TFFTReal.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.