num::spectral::rfft¶
Defined in header <spectral/fft.hpp>
Compute nonredundant half-spectrum of a real input signal: \(n \to \lfloor n/2 \rfloor + 1\) complex coefficients.
Exploits Hermitian conjugate symmetry \(X_{n-k} = X_k^*\) for real inputs.
Parameters¶
in: Real input vector of size \(n\).out: Output complex half-spectrum vector of size \(n/2 + 1\).b: FFT backend tag.