Skip to content

num::spectral::ifft

Defined in header <spectral/fft.hpp>

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

Compute the inverse FFT, without the factor \(1/n\): \(x_j = \sum_{k=0}^{n-1} X_k e^{2\pi i j k / n}\). Divide by \(n\) to recover the input.