|
libwt
1.0.0
A C++ library for the continous wavelet transform.
|
Implements the generic FFT-plan interface for the FFTW3 library. More...
#include <fft_fftw3.hh>
Public Types | |
| enum | Direction { FORWARD, BACKWARD } |
| Specifies the possible FFT directions. More... | |
Public Member Functions | |
| FFT (CVector &in, CVector &out, Direction dir) | |
Constructs the FFT of the input vector in and stores the result into out. More... | |
| FFT (CMatrix &in, CMatrix &out, Direction dir) | |
Constructs the FFT of the column vectors in and stores the result into the columns of out. More... | |
| FFT (CVector &inout, Direction dir) | |
Construts the in-place FFT of the vector inout. More... | |
| FFT (CMatrix &inout, Direction dir) | |
Construts the in-place FFT of the column vectors inout. More... | |
| virtual | ~FFT () |
| Destructor. More... | |
| void | exec () |
| Executes the FFT. More... | |
Static Public Member Functions | |
| static void | exec (CVector &in, CVector &out, Direction dir) |
Executes the FFT of the input vector in and stores the result into out. More... | |
| static void | exec (CMatrix &in, CMatrix &out, Direction dir) |
Executes the FFT of the input column vectors in and stores the result into the columns of out. More... | |
| static void | exec (CVector &inout, Direction dir) |
Executes the in-place FFT of the vector inout. More... | |
| static void | exec (CMatrix &inout, Direction dir) |
Executes the in-place FFT of the column vectors inout. More... | |
| static size_t | roundUp (size_t N) |
Computes the smallest samples size larger than or equal to N for which the FFT can be computed fast. More... | |
Protected Attributes | |
| fftw_plan | _plan |
| The actual FFTW3 plan being executed. More... | |
Implements the generic FFT-plan interface for the FFTW3 library.
| enum wt::FFT::Direction |
Specifies the possible FFT directions.
| Enumerator | |
|---|---|
| FORWARD |
Forward transform. |
| BACKWARD |
Backward transform. |
| FFT::FFT | ( | CVector & | in, |
| CVector & | out, | ||
| Direction | dir | ||
| ) |
Constructs the FFT of the input vector in and stores the result into out.
| FFT::FFT | ( | CMatrix & | in, |
| CMatrix & | out, | ||
| Direction | dir | ||
| ) |
Constructs the FFT of the column vectors in and stores the result into the columns of out.
|
virtual |
Destructor.
| void FFT::exec | ( | ) |
Executes the FFT.
|
static |
Executes the FFT of the input vector in and stores the result into out.
|
static |
Executes the FFT of the input column vectors in and stores the result into the columns of out.
|
static |
Executes the in-place FFT of the vector inout.
|
static |
Executes the in-place FFT of the column vectors inout.
|
static |
Computes the smallest samples size larger than or equal to N for which the FFT can be computed fast.
|
protected |
The actual FFTW3 plan being executed.
1.8.9.1