Mirrors the C# Fourier.RealFFT: transforms length(x) real values in place (length(x)
must be a power of two) into the positive-frequency half of the complex transform.
Examples
dft_real(c(1, 2, 3, 4))
#> [1] 10 -2 -2 -2
Mirrors the C# Fourier.RealFFT: transforms length(x) real values in place (length(x)
must be a power of two) into the positive-frequency half of the complex transform.
dft_real(c(1, 2, 3, 4))
#> [1] 10 -2 -2 -2