Public Member Functions

zeus::TButterflyFFT Class Reference

#include <ButterflyFFT.h>

List of all members.

Public Member Functions

 TButterflyFFT ()
virtual ~TButterflyFFT ()
void fft (TComplex *axIn, Int iN)
void ifft (TComplex *axIn, Int iN)
void fft2D (TComplex **axIn, Int iWidth, Int iHeight)
void ifft2D (TComplex **axIn, Int iWidth, Int iHeight)

Detailed Description

this class implements the fast fourier transformation and inverse fast fourier transformation functions.


Constructor & Destructor Documentation

TButterflyFFT::TButterflyFFT (  )

Creates the fourier transformater

TButterflyFFT::~TButterflyFFT (  ) [virtual]

Destroys the fourier transformater


Member Function Documentation

void TButterflyFFT::fft ( TComplex axIn,
Int  iN 
)

Complex fast fourier transformation. This method takes numbers of the complex numberspace, transforms them, and returns the result again in the complex number space. To feed it with real numbers, just set the real components of the complex numbers only.

Parameters:
axIn: Array of complex numbers as input. The output will be written into the same array
iN: Number of samples
void TButterflyFFT::fft2D ( TComplex **  axIn,
Int  iWidth,
Int  iHeight 
)

This method implements the 2D fourier transformation

Parameters:
axIn: In-out parameter, containing the matriy of data
iWidth: Width of the matrix (number of columns);
iHeight: Height of the matrix (number of rows)
Note:
The data matrix is interpreted as a 2d array. The method accesses the data as axIn[y][x], where as y is the row and x is the column ID.
void TButterflyFFT::ifft ( TComplex axIn,
Int  iN 
)

Complex inverse fast fourier transformation

Parameters:
axIn: Array of complex numbers as input. The output will be written into the same array
iN: Number of samples
void TButterflyFFT::ifft2D ( TComplex **  axIn,
Int  iWidth,
Int  iHeight 
)

This method implements the 2D inverse fourier transformation

Parameters:
axIn: In-out parameter, containing the matriy of data
iWidth: Width of the matrix (number of columns);
iHeight: Height of the matrix (number of rows)
Note:
The data matrix is interpreted as a 2d array. The method accesses the data as axIn[y][x], where as y is the row and x is the column ID.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:32:26