Module rgsl::fft::radix2

source ·
Expand description

These functions compute forward, backward and inverse FFTs of length n with stride stride, on the packed complex array data using an in-place radix-2 decimation-in-time algorithm. The length of the transform is restricted to powers of two. For the transform version of the function the sign argument can be either forward (-1) or backward (+1).

The functions return a value of crate::Value::Success if no errors were detected, or Value::Dom if the length n is not a power of two.

Functions