#include <FwFFT.h>
Public Types | |
using | Index = unsigned int |
using | Float = double |
using | Complex = fftw_complex |
using | DFT = CompactRealDftData< float > |
using | FloatVector = std::vector< float > |
using | Plan = fftw_plan |
using | PlanMap = std::map< Index, Plan > |
Public Member Functions | |
FwFFT (Index nsamMax, Index opt) | |
~FwFFT () | |
Plan & | forwardPlan (Index nsam) |
Plan & | backwardPlan (Index nsam) |
int | fftForward (Index nsam, const float *psam, DFT &dft, Index logLevel=0) |
int | fftForward (const FloatVector &sams, DFT &dft, Index logLevel=0) |
int | fftInverse (const DFT &dft, FloatVector &sams, Index logLevel=0) |
Private Attributes | |
Index | m_nsamMax |
Index | m_flag |
double * | m_inData |
Complex * | m_outData |
PlanMap | m_forwardPlans |
PlanMap | m_backwardPlans |
using FwFFT::Complex = fftw_complex |
using FwFFT::DFT = CompactRealDftData<float> |
using FwFFT::Float = double |
using FwFFT::FloatVector = std::vector<float> |
using FwFFT::Index = unsigned int |
using FwFFT::Plan = fftw_plan |
using FwFFT::PlanMap = std::map<Index, Plan> |
FwFFT::Plan & FwFFT::backwardPlan | ( | Index | nsam | ) |
Definition at line 70 of file FwFFT.cxx.
int FwFFT::fftForward | ( | const FloatVector & | sams, |
DFT & | dft, | ||
Index | logLevel = 0 |
||
) |
Definition at line 121 of file FwFFT.cxx.
int FwFFT::fftInverse | ( | const DFT & | dft, |
FloatVector & | sams, | ||
Index | logLevel = 0 |
||
) |
FwFFT::Plan & FwFFT::forwardPlan | ( | Index | nsam | ) |