12 releases (6 breaking)

new 0.7.0 Feb 23, 2021
0.6.2 Jun 20, 2020
0.6.0 May 2, 2019
0.5.1 Oct 5, 2018
0.1.0 Mar 1, 2017

#55 in Math

Download history 168/week @ 2020-11-02 134/week @ 2020-11-09 171/week @ 2020-11-16 79/week @ 2020-11-23 127/week @ 2020-11-30 103/week @ 2020-12-07 60/week @ 2020-12-14 36/week @ 2020-12-21 27/week @ 2020-12-28 181/week @ 2021-01-04 48/week @ 2021-01-11 41/week @ 2021-01-18 28/week @ 2021-01-25 22/week @ 2021-02-01 52/week @ 2021-02-08 421/week @ 2021-02-15

432 downloads per month
Used in less than 7 crates

Custom license and maybe GPL-2.0-or-later

57KB
1.5K SLoC

rust-fftw3

Rust

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:

  • Crate docs.rs fftw: A safe wrapper in Rust
  • Crate docs.rs fftw-sys: An unsafe wrapper in Rust
  • Crate docs.rs fftw-src: A crate for downloading and compiling the FFTW library

Feature flags

  • source: Download and compile FFTW (default)
    • (Linux, macOS) Needs a C-compiler and the make build tool to compile the FFTW library
    • (Windows) Downloads a precompiled binary from the FFTW website
  • system: Use the system's libfftw3 (experimental)
    • You must install FFTW before building this crate
    • For Linux systems, please install FFTW using your package manager, e.g. in Debian or Ubuntu run apt install libfftw3-dev
    • For macOS, please run brew install fftw by using homebrew
    • This feature is unsupported on Windows
  • intel-mkl Use Intel MKL backend through intel-mkl-src
    • Only Linux and Windows are supported
Feature Linux Windows macOS
source ✔️ ✔️ ✔️
system ✔️ - ✔️
intel-mkl ✔️ ✔️ -

LICENSE

See LICENSE.md

Dependencies

~1.4–3.5MB
~85K SLoC