54 inline static SP::FFTW_Plan
New() {
86 if (v) mOptimization=FFTW_MEASURE;
87 else mOptimization=FFTW_ESTIMATE;
124 if (mIsInverse)
return -mDirection;
138 return (mOptimization==FFTW_MEASURE);
tSInt getExponent() const
return the sign of the exponent of the N-th unity root
Definition: FFTW_Plan.h:123
This class describes an FFT Plan.
Definition: FFTW_Plan.h:15
#define FFTW_PLAN
Definition: fftw_types.h:74
const tSInt & getDirection() const
return the direction
Definition: FFTW_Plan.h:117
#define DEFINE_SVPTR(X)
Definition: CORE_ArrayPointers.h:24
tBoolean isOptimized() const
return true if the plan is optimized
Definition: FFTW_Plan.h:137
#define tUInteger
Definition: types.h:91
const tBoolean & isInverse() const
return true if the inverse is computing
Definition: FFTW_Plan.h:131
tBoolean mIsInverse
Definition: FFTW_Plan.h:26
#define tUSInt
Definition: types.h:28
#define tBoolean
Definition: types.h:139
#define tFFTWComplex
Definition: fftw_types.h:65
void setDirection(const tSInt &dir, const tBoolean &isInverse)
set the direction of plan
Definition: FFTW_Plan.h:94
tBoolean run(int argc, char *argv[])
Definition: EMMH_Main.cpp:4
static SP::FFTW_Plan New()
create a new Plan
Definition: FFTW_Plan.h:54
void setDimension(const tUSInt &dim)
set the dimension
Definition: FFTW_Plan.h:102
tUSInt mOptimization
Definition: FFTW_Plan.h:28
#define SP_OBJECT(X)
Definition: CORE_Pointers.h:203
#define tSInt
Definition: types.h:30
This class is the base class of FFTW objects.
Definition: FFTW_Object.h:19
#define tUIndex
Definition: types.h:126
FFTW_PLAN mPlan
Definition: FFTW_Plan.h:24
tUSInt mDimension
Definition: FFTW_Plan.h:29
tSInt mDirection
Definition: FFTW_Plan.h:27
const tUSInt & getDimension() const
return the dimension of the plan
Definition: FFTW_Plan.h:111
void optimize(const tBoolean &v)
optimize the plan or not
Definition: FFTW_Plan.h:85
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141