You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FFTW, version 3, with its development files (fftw3.h) must be
installed on your system. For example, on Debian or Ubuntu, you need
to install the package libfftw3-dev (see the package
conf-fftw3 for other
distributions — click the “Edit” link).
Compilation
The easier way to install this library is by using opam:
opam install fftw3
If you cloned this repository, you can use Dune to
compile it:
dune 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:
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
or consult the documentation
online.