aflibFFT Class Reference

Performs a forward or reverse FFT. More...

#include <aflibFFT.h>

List of all members.

Public Member Functions

 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.


Detailed Description

Performs a forward or reverse FFT.

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 Documentation

aflibFFT::aflibFFT (  ) 

Constructor.

aflibFFT::~aflibFFT (  ) 

Destructor.


Member Function Documentation

void aflibFFT::fft_double ( unsigned  NumSamples,
int  InverseTransform,
const double *  RealIn,
const double *  ImagIn,
double *  RealOut,
double *  ImagOut 
)

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.


The documentation for this class was generated from the following files:
Generated on Sat Feb 23 13:56:37 2008 for Open Source Audio Library Project by  doxygen 1.5.1