comfort-fftw: High-level interface to FFTW (Fast Fourier Transform) based on comfort-array

[ bsd3, library, math ] [ Propose Tags ] [ Report a vulnerability ]

FFTW claims to be the fastest Fourier Transform in the West. This is a high-level interface to libfftw. We re-use the type classes from netlib-ffi.

Features:

  • Support of one (audio), two (image), three (video) dimensional data, as well as n-dimensional one.

  • Support for batched transformations e.g. for block-wise Fourier transform.

  • No normalization like in plain fftw. This is because I see no universally best place to apply normalization.

The use of comfort-array enables to use array shapes tailored to Fourier transforms:

Shape.Cyclic
for data where the n-1-th element can also be accessed via index -1.
Shape.Half
for complex data of a real-to-complex Fourier transform. It saves you from case distinction between even and odd data length and according mistakes.
Shape.Symmetric
for real-to-real Sine and Cosine transforms. They assert that you will always use the appropriate kind for back transformation.

For rather simple examples see the packages align-audio and morbus-meniere.

See also package fft.

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0, 0.0.0.1
Dependencies base (>=4.5 && <5), comfort-array (>=0.5 && <0.6), deepseq (>=1.3 && <1.6), fftw-ffi (>=0.0 && <0.2), netlib-ffi (>=0.0 && <0.2), QuickCheck (>=2 && <3) [details]
Tested with ghc ==7.4.2, ghc ==7.8.4, ghc ==8.6.5
License BSD-3-Clause
Author Henning Thielemann <haskell@henning-thielemann.de>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
Revised Revision 1 made by HenningThielemann at 2023-10-07T15:23:53Z
Category Math
Home page https://hub.darcs.net/thielema/comfort-fftw/
Source repo this: darcs get https://hub.darcs.net/thielema/comfort-fftw/ --tag 0.0.0.1
head: darcs get https://hub.darcs.net/thielema/comfort-fftw/
Uploaded by HenningThielemann at 2023-04-22T17:53:39Z
Distributions LTSHaskell:0.0.0.1, NixOS:0.0.0.1, Stackage:0.0.0.1
Downloads 406 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]