rfft
FFT of a real vector.
Namespace: dsp::fourier
Prototype
Veccf rfft(const Vector<T> &x)
Parameters
x | Real vector |
Returns
DFT (complex vector)
Description
This function computes efficiently the FFT of a real vector with even number of samples (if the provided vector has an odd number of elements, then the standard fft routine is called).
- Note
- The fft() function will use automatically this function if the input vector is real.