|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmath.fourierTransforms.interleaved.ComplexFloatFFT
public abstract class ComplexFloatFFT
Abstract Class representing FFT's of complex, single precision data. Concrete classes are typically named ComplexFloatFFT_method, implement the FFT using some particular method.
Complex data is represented by 2 double values in sequence: the real and imaginary parts. Thus, in the default case (i0=0, stride=2), N data points is represented by a double array dimensioned to 2*N. To support 2D (and higher) transforms, an offset, i0 (where the first element starts) and stride (the distance from the real part of one value, to the next: affineTransform least 2 for complex values) can be supplied. The physical layout in the array data, of the mathematical data d[i] is as follows:
Re(d[i]) = data[i0 + stride*i] Im(d[i]) = data[i0 + stride*i+1]The transformed data is returned in the original data array in wrap-around order.
Constructor Summary | |
---|---|
ComplexFloatFFT(int n)
Create an FFT for transforming n points of Complex, single precision data. |
Method Summary | |
---|---|
void |
backtransform(float[] data)
Compute the (unnomalized) inverse FFT of data, leaving it in place. |
abstract void |
backtransform(float[] data,
int i0,
int stride)
Compute the (unnomalized) inverse FFT of data, leaving it in place. |
static float[] |
complexToReal(float[] complex)
|
ComplexFloatFFT |
getInstance(int n)
Creates an instance of a subclass of ComplexFloatFFT appropriate for data of n elements. |
static float[] |
getInterleavedData(float[] re,
float[] im)
|
void |
inverse(float[] data)
Compute the (nomalized) inverse FFT of data, leaving it in place. |
void |
inverse(float[] data,
int i0,
int stride)
Compute the (nomalized) inverse FFT of data, leaving it in place. |
float |
normalization()
Return the normalization factor. |
float[] |
toWraparoundOrder(float[] data)
Return data in wraparound order. |
float[] |
toWraparoundOrder(float[] data,
int i0,
int stride)
Return data in wraparound order. |
void |
transform(float[] data)
Compute the Fast Fourier Transform of data leaving the result in data. |
abstract void |
transform(float[] data,
int i0,
int stride)
Compute the Fast Fourier Transform of data leaving the result in data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComplexFloatFFT(int n)
Method Detail |
---|
public static float[] complexToReal(float[] complex)
public static float[] getInterleavedData(float[] re, float[] im)
public ComplexFloatFFT getInstance(int n)
public void transform(float[] data)
public float[] toWraparoundOrder(float[] data)
public float[] toWraparoundOrder(float[] data, int i0, int stride)
public abstract void transform(float[] data, int i0, int stride)
Re(d[i]) = data[i0 + stride*i] Im(d[i]) = data[i0 + stride*i+1]
public void backtransform(float[] data)
public abstract void backtransform(float[] data, int i0, int stride)
Re(D[i]) = data[i0 + stride*i] Im(D[i]) = data[i0 + stride*i+1]
public float normalization()
public void inverse(float[] data)
public void inverse(float[] data, int i0, int stride)
Re(D[i]) = data[i0 + stride*i] Im(D[i]) = data[i0 + stride*i+1]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |