Expand description
Deterministic CPU 2-D FFTs with optional C/Python interop.
The primary entry point for Rust callers is RifftHandle. For the C ABI see
crate::api_c. For Python bindings build with the python feature via maturin.
§Example
use num_complex::Complex32;
use rifft::RifftHandle;
let handle = RifftHandle::new();
let mut plane = vec![Complex32::default(); 512 * 512];
handle.fft2d_forward(&mut plane, 512, 512).unwrap();§Environment variables
RUSTFFT_THREADS: controls Rayon thread count for FFT execution.RIFFT_PREPLAN: set toautoor a comma-separated list like256x256,1024x512to warm plan caches when constructing a newRifftHandle.