Skip to content

num::spectral::rfft

Defined in header <spectral/fft.hpp>

void rfft(const vec<real> &in, vec<cplx> &out, fft_backend b = default_fft_backend);

Compute the FFT of real data: the \(\lfloor n/2 \rfloor + 1\) coefficients that are not redundant.