Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

aflibFFT Class Reference

Performs a forward or reverse FFT. More...

#include <aflibFFT.h>

List of all members.

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...


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 at Tue Aug 7 22:18:07 2001 for Open Source Audio Library Project by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001