package fftw3

  1. Overview
  2. Docs
Binding to the famous Fast Fourier Transform library FFTW

Install

Dune Dependency

Authors

Maintainers

Sources

fftw3-0.8.1.tbz
sha256=bf3ff9006b4e8c143da4fbc8383ff41ace7a834af84d7c4ded6cd1ee30b054c7
md5=cdf13311128b1514838e803e2725761d

Description

Tags

FFT

Published: 27 May 2018

README

Interface to FFTW, version 3

Perquisites

The FFTW, version 3, with its development files (fftw3.h) must be installed on your platform. For example, on Debian or Ubuntu, you need to install the package libfftw3-dev (see the opam file for other distributions).

Compilation

jbuilder build @install

If your fftw3 header files or libraries are not where you C compiler expects to find them and pkg-config does not return the right location either, you need to tell the discover script where to find them by setting the environment variable FFTW3_CFLAGS:

FFTW3_CFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"

Of course, replace /opt/local/include (resp. /opt/local/lib) by the actual paths of your header files (resp. library).

Usage

Fftw3 contains two submodules differing only by precision Fftw3.D for double precision and Fftw3.S for single precision. Note that the functions of the single precision module will raise Failure if the corresponding FFTW3 library was not discovered by the configure script. See the mli file for more details.

Examples

Some examples need additional libraries:

If these are not detected by the configure script, the corresponding examples will not be compiled or will have less features.

Bugs

To report bugs, use the Github issues page.

Development

If you want to participate to the development of Fftw3, make a fork of the project and submit a pull request.

Licence

FFtw3 is released under the LGPL with the special exception of the standard library. See the file LICENSE for more details.

Although not required, it will be appreciated if your product mentions it uses these bindings.

Dependencies (6)

  1. stdio build
  2. base build
  3. configurator build
  4. cppo build
  5. jbuilder >= "1.0+beta7"
  6. ocaml >= "4.03.0" & < "4.10"

Dev Dependencies (1)

  1. lacaml with-test

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.