Module

FFT.Real

Package
purescript-fft-js
Repository
jeslie0/purescript-fft-js

Take the Fast Fourier Transform of a real valued array, returning a complex valued array using the Cartesian package. Note, this is much slower than the functions provided by the FFT module. Note that this module doesn't expose any conversions between RealArray and Array Number. It is more efficient to unwrap the RealArray newtype constructor.

#transform Source

transform :: FFT -> Array Number -> Array (Cartesian Number)

Compute the Fast Fourier Transform of an array of real numbers.