/dft

Discrete Fourier transform

Primary LanguageRustOtherNOASSERTION

DFT Version Status

The package provides an algorithm to compute the discrete Fourier transform.

Example

use dft::{Operation, Plan, c64};

let plan = Plan::new(Operation::Forward, 512);
let mut data = vec![c64::new(42.0, 69.0); 512];
dft::transform(&mut data, &plan);

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.