Rust bindings for the FFTW C-library for computing discrete Fourier transforms, as well as discrete cosine and sine transforms.
This repository includes three crates:
fftw
: A safe wrapper in Rustfftw-sys
: An unsafe wrapper in Rustfftw-src
: A crate for downloading and compiling the FFTW librarysource
: Download and compile FFTW (default)
make
build tool to compile the FFTW librarysystem
: Use the system's libfftw3 (experimental)
apt install libfftw3-dev
brew install fftw
by using homebrewintel-mkl
Use Intel MKL backend through intel-mkl-src
Feature | Linux | Windows | macOS |
---|---|---|---|
source | ✔️ | ✔️ | ✔️ |
system | ✔️ | - | ✔️ |
intel-mkl | ✔️ | ✔️ | - |
See LICENSE.md