Skip to main content

Module real_fft

Module real_fft 

Source
Expand description

Real-input forward FFT producing the N/2 + 1 magnitude spectrum.

Built on super::radix2::fft_radix2. Caller-buffered and zero-heap: the caller supplies a 2 * N interleaved-complex scratch buffer (overwritten) and an N/2 + 1 magnitude output buffer.

Functionsยง

real_fft_magnitude
Forward FFT of N real samples, writing the magnitude of the first N/2 + 1 bins (the non-redundant half for real input).