contiguous-fft-0.2.0.0: dft of contiguous memory structures

Safe HaskellNone
LanguageHaskell2010

Data.Primitive.Contiguous.FFT

Description

This module exposes functions for performing Fast Fourier Transform (FFT) and Inverse Fast Fourier Transform (IFFT) over Contiguous data structures.

Synopsis

Documentation

fft :: forall arr. (Contiguous arr, Element arr (Complex Double)) => arr (Complex Double) -> arr (Complex Double) Source #

Radix-2 decimation-in-time fast Fourier Transform. The given array must have a length that is a power of two.

ifft :: forall arr. (Contiguous arr, Element arr (Complex Double)) => arr (Complex Double) -> arr (Complex Double) Source #

Inverse fast Fourier transform.