rustfft 2.0.0

A mixed-radix FFT library.
Documentation

RustFFT

Build Status

RustFFT is a mixed-radix FFT implementation written in Rust.

Example

extern crate rustfft;
extern crate num;

// This library can handle arbitrary FFT lengths, but
// lengths that are highly composite run much faster.
let fft_len = 1234;

let mut fft = rustfft::FFT::new(fft_len, false);
let signal = vec![num::Complex{re: 0.0, im: 0.0}; fft_len];
let mut spectrum = signal.clone();
fft.process(&signal, &mut spectrum);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.