Package ffx.numerics.fft
Class Real
java.lang.Object
ffx.numerics.fft.Real
Compute the FFT of real, double precision data of arbitrary length n using a Complex transform.
- Since:
- 1.0
- Author:
- Michal J. Schnieders
Derived from:
Bruce R. Miller bruce.miller@nist.gov
Contribution of the National Institute of Standards and Technology, not subject to copyright.
Derived from:
GSL (Gnu Scientific Library) FFT Code by Brian Gough bjg@vvv.lanl.gov - See Also:
-
Constructor Summary
ConstructorDescriptionReal
(int n) Constructs a Complex FFT of length (n / 2) for real data of length n. -
Method Summary
-
Constructor Details
-
Real
public Real(int n) Constructs a Complex FFT of length (n / 2) for real data of length n.- Parameters:
n
- the length of the real data.
-
-
Method Details
-
fft
public void fft(double[] data, int offset) fft- Parameters:
data
- Input data.offset
- Offset to the beginning of the data.
-
ifft
public void ifft(double[] data, int offset) ifft- Parameters:
data
- Input data.offset
- Offset to the beginning of the data.
-
inverse
public void inverse(double[] data, int offset) inverse- Parameters:
data
- Input data.offset
- Offset to the beginning of the data.
-