module Fourier: sig
.. end
Fourier Transform
val pi : float
Constant
.
val dft_aux : float -> Complex.t list -> Complex.t list
An auxiliary routine for dft
and idft
.
val dft : Complex.t list -> Complex.t list
A naive implementation of Discrete Fourier Transform (DFT).
DFT is defined as
where
are time-domain data points,
are frequency-domain data points.
val idft : Complex.t list -> Complex.t list
A naive implementation of Inverse Discrete Fourier Transform (IDFT),
the inverse transformation of DFT:
val fft_aux : float -> Complex.t list -> Complex.t list
An auxiliary routine for fft
and ifft
.
val fft : Complex.t list -> Complex.t list
An implementation of Cooley-Tukey Fast Fourier Transform (FFT) algorithm.
dft
takes
time, but
fft
takes
time!
val ifft : Complex.t list -> Complex.t list
An implementation of Inverse Fast Fourier Transform (IFFT).
idft
takes
time, but
ifft
takes
time!