Functions for calculating the discrete finite fourier transform using the fast fourier transform algorithms.
Functions that work on complex values
compute the inverse fourier transform of a list of complex values The inverse fourier transform of list Z is equal to $$(conjugate (fft (conjugate Z)) / (length Z))$$ where Z* is the conjugate of Z.
Functions that work real (Float) values
compute the fourier transform of a list of real values. The output is a list of complex values.
realFft [ 1, 0, 1, 0.5 ]compute the inverse fourier transform of a list of real values The inverse fourier transform of list Z is equal to $$(conjugate (fft (conjugate Z)) / (length Z))$$ where Z* is the conjugate of Z.
compute the fourier transform of a list of complex values