HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulestatistics-0.16.5.0Haskell2010

Statistics.Transform

Fourier-related transformations of mathematical functions.

These functions are written for simplicity and correctness, not speed. If you need a fast FFT implementation for your application, you should strongly consider using a library of FFTW bindings instead.

  • 1 type
  • 6 values

Type synonyms

1 declaration

Discrete cosine transform

4 declarations
valueidct_ :: (Vector v CD, Vector v Double) => v CD -> v Double
#

Inverse discrete cosine transform (DCT-III). Only real part of vector is transformed, imaginary part is ignored.

Fast Fourier transform

2 declarations
valuefft :: Vector v CD => v CD -> v CD
#

Radix-2 decimation-in-time fast Fourier transform.