#include <FFT.h>
This class uses FFTW or its own FFT implementation, depending on the compile flags and relative calculated performances of the two.
Supports real -> complex forward and complex -> real inverse DFTs with power-of-two sizes.
Definition at line 15 of file FFT.h.
Public Types | |
| enum | Exception { InvalidSize } |
Public Member Functions | |
| FFT (unsigned int size) | |
| ~FFT () | |
| void | forward (double *realIn, double *realOut, double *imagOut) |
| void | inverse (double *realIn, double *imagIn, double *realOut) |
| void | tune () |
Protected Member Functions | |
| void | basefft (bool inverse, double *ri, double *ii, double *ro, double *io) |
Protected Attributes | |
| unsigned int | m_size |
| int * | m_table |
| double * | m_spare |
| enum FFT::Exception |
| FFT::FFT | ( | unsigned int | size | ) |
| void FFT::forward | ( | double * | realIn, | |
| double * | realOut, | |||
| double * | imagOut | |||
| ) |
| void FFT::inverse | ( | double * | realIn, | |
| double * | imagIn, | |||
| double * | realOut | |||
| ) |
| void FFT::basefft | ( | bool | inverse, | |
| double * | ri, | |||
| double * | ii, | |||
| double * | ro, | |||
| double * | io | |||
| ) | [protected] |
unsigned int FFT::m_size [protected] |
int* FFT::m_table [protected] |
double* FFT::m_spare [protected] |
1.5.1