Module

FFT.Complex

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

Take the Fast Fourier Transform of a complex valued array from, the Cartesian package, returning. Note, this is much slower than the functions provided by the FFT module.

#transform Source

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

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

#toComplexArray Source

toComplexArray :: Array (Cartesian Number) -> ComplexArray

Convert an array of complex values numbers to a ComplexArray.

#fromComplexArray Source

fromComplexArray :: ComplexArray -> Array (Cartesian Number)

Convert ComplexArray to an array of complex values numbers.