public class ComplexDouble2DFFT extends Object
Re(d[i,j]) = data[i*rowspan + 2*j] Im(d[i,j]) = data[i*rowspan + 2*j + 1]where
rowspan
must be at least 2*ncols (it defaults to 2*ncols).
The transformed data is returned in the original data array in
wrap-around order along each dimension.Constructor and Description |
---|
ComplexDouble2DFFT(int nrows,
int ncols)
Create an FFT for transforming nrows*ncols points of Complex, double precision
data.
|
Modifier and Type | Method and Description |
---|---|
void |
backtransform(double[] data)
Compute the (unnomalized) inverse FFT of data, leaving it in place.
|
void |
backtransform(double[] data,
int rowspan)
Compute the (unnomalized) inverse FFT of data, leaving it in place.
|
protected void |
checkData(double[] data,
int rowspan) |
void |
inverse(double[] data)
Compute the (nomalized) inverse FFT of data, leaving it in place.
|
void |
inverse(double[] data,
int rowspan)
Compute the (nomalized) inverse FFT of data, leaving it in place.
|
double |
normalization()
Return the normalization factor.
|
double[] |
toWraparoundOrder(double[] data)
Return data in wraparound order.
|
double[] |
toWraparoundOrder(double[] data,
int rowspan)
Return data in wraparound order.
|
void |
transform(double[] data)
Compute the Fast Fourier Transform of data leaving the result in data.
|
void |
transform(double[] data,
int rowspan)
Compute the Fast Fourier Transform of data leaving the result in data.
|
public ComplexDouble2DFFT(int nrows, int ncols)
protected void checkData(double[] data, int rowspan)
public void transform(double[] data)
public void transform(double[] data, int rowspan)
public double[] toWraparoundOrder(double[] data)
public double[] toWraparoundOrder(double[] data, int rowspan)
public void backtransform(double[] data)
public void backtransform(double[] data, int rowspan)
public double normalization()
public void inverse(double[] data)
public void inverse(double[] data, int rowspan)
Copyright © 2012. All Rights Reserved.