RustFFT

Build Status

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

Example

```rust 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(fftlen, false); let signal = vec![num::Complex{re: 0.0, im: 0.0}; fftlen]; 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.