public final class FFTC
extends java.lang.Object
FFT
,
Counter
,
Factorizer
,
FFTPhase
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList |
FFT_C(double[] xReal,
double[] xImag,
boolean forward,
boolean verbose)
Class method that takes the Fourier transform of input argument vectors xReal and xImag of arbitrary length,
overwriting the input data.
|
static java.util.ArrayList |
FFT_C(double[] xReal,
double[] xImag,
boolean forward,
boolean overwrite,
boolean verbose)
Class method that makes the Fourier transform of input argument vectors xReal and xImag, which can be of
arbitrary length.
|
static int |
testConjugateSymmetry(double[] xr,
double[] xi)
Class method to test whether a data set has the symmetry property that will result in its transform being pure
real or pure imaginary.
|
public static java.util.ArrayList FFT_C(double[] xReal, double[] xImag, boolean forward, boolean overwrite, boolean verbose)
double[]
- xReal The real part of the input complex datadouble[]
- xImag The imaginary part of the input complex databoolean
- forward True denotes a forward or normal Fourier transform (time->frequency); false denotes an
inverse transformboolean
- overwrite True if input data is to be overwritten by outputboolean
- verbose True if printing log to System.out is desiredpublic static java.util.ArrayList FFT_C(double[] xReal, double[] xImag, boolean forward, boolean verbose)
double[]
- xReal The real part of the input complex data, to be replaced by the real part of its Fourier
transformdouble[]
- xImag The imaginary part of the input complex data, to be replaced by the imaginary part of its
Fourier transform if it existsboolean
- forward True denotes a forward or normal Fourier transform (time->frequency); false denotes an
inverse transformboolean
- verbose True if printing log to System.out is desiredpublic static int testConjugateSymmetry(double[] xr, double[] xi)
double[]
- xr The real part of the input data set (can be null)double[]
- xi The imaginary part of the input data set (can be null)