Detailed Description

Performs the fast fourier transform.

Public Member Functions

 FFT (int logN)
 
void Transform1D (float[] real, float[] imag, int logN, int n, bool forward)
 
void Transform2D (float[] real, float[] imag, int cols, int rows, bool forward)
 

Protected Attributes

float[] w1
 
float[] w2
 
float[] w3
 

Private Member Functions

void Scramble (int n, float[] real, float[] imag)
 
void Butterflies (int n, int logN, int direction, float[] real, float[] imag)
 
int Log2 (int n)
 

Constructor & Destructor Documentation

Loonim.FFT.FFT ( int  logN)
inline

Member Function Documentation

void Loonim.FFT.Butterflies ( int  n,
int  logN,
int  direction,
float[]  real,
float[]  imag 
)
inlineprivate
int Loonim.FFT.Log2 ( int  n)
inlineprivate
void Loonim.FFT.Scramble ( int  n,
float[]  real,
float[]  imag 
)
inlineprivate
void Loonim.FFT.Transform1D ( float[]  real,
float[]  imag,
int  logN,
int  n,
bool  forward 
)
inline
void Loonim.FFT.Transform2D ( float[]  real,
float[]  imag,
int  cols,
int  rows,
bool  forward 
)
inline

Member Data Documentation

float [] Loonim.FFT.w1
protected
float [] Loonim.FFT.w2
protected
float [] Loonim.FFT.w3
protected