HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestatistics-0.16.3.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.