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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 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.