public class FastFFT
extends java.lang.Object
Constructor and Description |
---|
FastFFT() |
Modifier and Type | Method and Description |
---|---|
void |
fft(Complex[] x)
In place fft of complex data.
|
void |
fft(Complex[][] x)
In lace FFT of a 2D complex array.
|
void |
ifft(Complex[] x,
int m)
Inverse FFT for Complex data.
|
static int |
log2(int num) |
static int |
nextBinaryExp(int sourceNumber)
Finds the next highest binary exponential of the input integer.
|
Complex[] |
rfft(double[] x,
Complex[] y,
int m)
Fast FFT function for real data.
|
public Complex[] rfft(double[] x, Complex[] y, int m)
x
- real data arrayy
- preallocated Complex array for output data (can be null)m
- log2 of the FFT length (sorry !)public void fft(Complex[] x)
x
- complex arraypublic void fft(Complex[][] x)
x
- public void ifft(Complex[] x, int m)
x
- Complex Datam
- log2 of the FFT length (sorry !)public static int nextBinaryExp(int sourceNumber)
sourceNumber
- public static int log2(int num)
FFTlength
-