jass.generators
Class FFTFloat

java.lang.Object
  extended by jass.generators.FFTFloat

public class FFTFloat
extends java.lang.Object


Field Summary
 int bits
           
 
Constructor Summary
FFTFloat(int bits)
          FFT class constructor Initializes code for doing a fast Fourier transform
 
Method Summary
 void doFFT(float[] xr, float[] xi, boolean invFlag)
          A fast Fourier transform routine
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bits

public int bits
Constructor Detail

FFTFloat

public FFTFloat(int bits)
FFT class constructor Initializes code for doing a fast Fourier transform

Parameters:
int - bits is a power of two such that 2^b is the number of samples.
Method Detail

main

public static void main(java.lang.String[] argv)

doFFT

public void doFFT(float[] xr,
                  float[] xi,
                  boolean invFlag)
A fast Fourier transform routine

Parameters:
float - [] xr is the real part of the data to be transformed
float - [] xi is the imaginary part of the data to be transformed (normally zero unless inverse transofrm is effect).
boolean - invFlag which is true if inverse transform is being applied. false for a forward transform.