IFFTComplex Class Reference

Algorithm to perform an Inverse Fast Fourier Transform of a vector of Complex values representing the full FFT. More...

#include <IFFTComplex.h>

List of all members.

Public Member Functions

int fftSize () const
void setFftSize (int size, bool callSetup=true)
int frameSize () const
void setFrameSize (int size, bool callSetup=true)
bool zeroPhase () const
void setZeroPhase (bool zeroPhase, bool callSetup=true)


Detailed Description

Algorithm to perform an Inverse Fast Fourier Transform of a vector of Complex values representing the full FFT.

The IFFT is a fast implementation of an Inverse Discrete Fourier Transform (IDFT). The algorithm takes as input M point vectors of Complex values (M being the FFT size), and returns N point vectors of Real values (N being the frame size).

Note that N can be smaller than M. In this case the last ( M - N ) coefficients will be discarded, since it assumes that zero padding has been made at the end of the frame prior to the forward FFT transfor.

Alternatively the algorithm can undo the center zeropadding and the N/2 rotation if done durnig the FFT forward transform. This is specified by using the setZeroPhase() method.

Author:
Ricard Marxer
See also:
FFT, FFTComplex, IFFT

Member Function Documentation

int fftSize (  )  const

Returns the size of the FFT to be processed. The default is 1024.

See also:
setFftSize()

void setFftSize ( int  size,
bool  callSetup = true 
)

Specifies the size of the FFT to be processed. The given size must be higher than 0. Note that if size is a power of 2 will perform faster.

See also:
fftSize()

int frameSize (  )  const

Returns the size of the target frame. The default is 1024.

See also:
setFrameSize()

void setFrameSize ( int  size,
bool  callSetup = true 
)

Specifies the size of the target frame. The given size must be higher than 0. Note that if size is a power of 2 will perform faster.

See also:
frameSize()

bool zeroPhase (  )  const

Returns the zero phase setting. The default is true.

See also:
setZeroPhase()

void setZeroPhase ( bool  zeroPhase,
bool  callSetup = true 
)

Specifies the zeroPhase setting.

See also:
zeroPhase()


The documentation for this class was generated from the following files:

Generated on Tue Mar 31 20:38:33 2009 for Loudia by  doxygen 1.5.6