palmfft-1.1.1 has been yanked.
PalmFFT
The Infinite Monkey Derivative of PocketFFT.
It's technically a dirty-room implementation, but my brain is clean. fuck.
This repository is released as Public Domain as a reminder not to do the same shit I did.
What it can do
- Complex FFT, Basic complex arithmetics. That's it.
- Real FFT? No, I have my life.
- Try searching unsafe, You won't find any
- Dependency? Is that something I can eat?
How to use
use ;
// just a random data
let n = 1024;
let mut data = vec!;
// ... fuck around with the data vector ...
let fct = 1.0 / data.len as f64; // this is a scale factor
// initialise fft plan, no mismatch allowed
let plan = new;
plan.forward; // fft
plan.backward; // ifft
Again, fuck.