Package de.das.encrypter.fourier
Class FFT
java.lang.Object
de.das.encrypter.fourier.FFT
This class provides a method for performing the fast Fourier transform (FFT)
and its inverse function.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FFT
public FFT()
-
-
Method Details
-
fft
Performs a FFT.- Parameters:
src- the time course or similar input values.- Returns:
- the resulting spectrum values.
- Throws:
Exception- in case of any error.
-
ifft
Performs an invers FFT.- Parameters:
src- the complex spectrum values.- Returns:
- the time course according to the given spectrum.
- Throws:
Exception- in case of any error.
-