Portability | portable |
---|---|
Stability | experimental |
Maintainer | bos@serpentine.com |
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.
Type synonyms
Discrete cosine transform
dct_ :: Vector CD -> Vector DoubleSource
Discrete cosine transform, with complex coefficients (DCT-II).
idct :: Vector Double -> Vector DoubleSource
Inverse discrete cosine transform (DCT-III). It's inverse of
dct
only up to scale parameter:
(idct . dct) x = (* lenngth x)
idct_ :: Vector CD -> Vector DoubleSource
Inverse discrete cosine transform, with complex coefficients (DCT-III).