From d2dc475749e5b27c68f278e2e67f4cc181cf0f8e Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 26 Oct 2021 14:50:21 -0400 Subject: [PATCH] Add note about overlapping arrays in FFT wrapper. --- include/dsp/fft.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dsp/fft.hpp b/include/dsp/fft.hpp index 6c88132c..8672724b 100644 --- a/include/dsp/fft.hpp +++ b/include/dsp/fft.hpp @@ -28,6 +28,7 @@ struct RealFFT { /** Performs the real FFT. Input and output must be aligned using the above align*() functions. + Input and output arrays may overlap. Input is `length` elements. Output is `2*length` elements. Output is arbitrarily ordered for performance reasons. However, this ordering is consistent, so element-wise multiplication with line up with other results, and the inverse FFT will return a correctly ordered result.