10 #ifndef CARMA_UTIL_FFTWREALTOREALPLAN_H
11 #define CARMA_UTIL_FFTWREALTOREALPLAN_H
26 std::vector< double, carma::util::FftwAllocator< double > > FftwRealVector;
75 typedef ::std::map< enum Rigor, ::std::string > RigorEnumMap;
77 static RigorEnumMap rigors();
104 FftwRealVector & data,
105 enum Kind transformKind,
106 enum Rigor minimumRigor = MEASURE );
130 FftwRealVector::size_type
getSize( )
const;
151 static void importWisdom( const ::std::string & filename );
160 static void exportWisdom( const ::std::string & filename );
172 const FftwRealVector::size_type size_;
173 const FftwRealVector::value_type * data0_;
176 FftwRealVector & data_;
void execute()
Execute transform for this plan.
~FftwRealToRealPlan()
Destructor.
FftwRealToRealPlan(FftwRealVector::size_type size, FftwRealVector &data, enum Kind transformKind, enum Rigor minimumRigor=MEASURE)
Create an FftwRealToRealPlan.
Kind
Fftw supports many different kinds of real-to-real transforms, these are the ones supported by this w...
Template definition for FftwAllocator class.
FftwRealVector::size_type getSize() const
Retrieve size.
static void forgetWisdom()
Forget all wisdom.
static void exportWisdom(const ::std::string &filename)
Export wisdom to the given file.
Rigor
Fftw has several options for creating plans which substantially impact creation time but can also hav...
C++ wrapper of real-to-real half-complex fftw_plans.
static void importWisdom(const ::std::string &filename)
Import Fftw wisdom from the given file.
enum Kind getKind() const
Retrieve kind.