|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjass.generators.FFT
public class FFT
| Field Summary | |
|---|---|
int |
bits
|
| Constructor Summary | |
|---|---|
FFT(int bits)
FFT class constructor Initializes code for doing a fast Fourier transform |
|
| Method Summary | |
|---|---|
void |
doFFT(double[] xr,
double[] 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 |
|---|
public int bits
| Constructor Detail |
|---|
public FFT(int bits)
int - bits is a power of two such that 2^b is the number
of samples.| Method Detail |
|---|
public static void main(java.lang.String[] argv)
public void doFFT(double[] xr,
double[] xi,
boolean invFlag)
double - [] xr is the real part of the data to be transformeddouble - [] 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||