#include <aflibFFT.h>
Public Methods | |
aflibFFT () | |
Constructor. | |
~aflibFFT () | |
Destructor. | |
void | fft_double (unsigned NumSamples, int InverseTransform, const double *RealIn, const double *ImagIn, double *RealOut, double *ImagOut) |
Performs a forward or reverse FFT. More... |
This class provides a FFT for other classes in this library to use. There is only one API for this class and it is fft_double. It will perform both a forward and reverse FFT. It operates on doubles.
|
Constructor.
|
|
Destructor.
|
|
Performs a forward or reverse FFT. This is the main API is this class. It will perform either a forward or inverse FFT depending how InverseTransform is set. If set to FALSE then forward FFT will be performed, TRUE and a inverse FFT will be performed. The number of samlpes (NumSamples) must be a power of 2. The ImagIn pointer can be NULL if there are no imaginary values. The user is responsable for passing in pointers for RealOut and ImagOut containing arrays of the proper size. |