stainless-steel / dft

Discrete Fourier transform
Other
25 stars 8 forks source link
fourier science transform

DFT Package Documentation Build

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.