diff --git a/main/footer.js b/main/footer.js
index 8d3e7518..2edd25f6 100644
--- a/main/footer.js
+++ b/main/footer.js
@@ -1,7 +1,7 @@
function writeHeader() {
- document.write('Version 1.14.4-dev10');
+ document.write('Version 1.14.4-dev11');
};
function writeFooter() {
- document.write('Generated on Wed Feb 15 2023 06:32:50 for CMSIS-DSP 1.14.4-dev10+g0fe2214. Copyright © 2022-2023 Arm Limited (or its affiliates). All rights reserved.');
+ document.write('Generated on Tue Feb 21 2023 08:44:01 for CMSIS-DSP 1.14.4-dev11+g8b49478. Copyright © 2022-2023 Arm Limited (or its affiliates). All rights reserved.');
};
diff --git a/main/group__RealFFT.html b/main/group__RealFFT.html
index bce6c91e..c8a63663 100644
--- a/main/group__RealFFT.html
+++ b/main/group__RealFFT.html
@@ -180,7 +180,7 @@ Functions
Real Fast Fourier Transform
-- The real sequence is initially treated as if it were complex to perform a CFFT. Later, a processing stage reshapes the data to obtain half of the frequency spectrum in complex format. Except the first complex number that contains the two real numbers X[0] and X[N/2] all the data is complex. In other words, the first complex sample contains two real values packed.
+- The real sequence is initially treated as if it were complex to perform a CFFT. Later, a processing stage reshapes the data to obtain half of the frequency spectrum in complex format.
- The input for the inverse RFFT should keep the same format as the output of the forward RFFT. A first processing stage pre-process the data to later perform an inverse CFFT.

@@ -189,11 +189,13 @@ Real Inverse Fast Fourier Transform
- The algorithms for floating-point, Q15, and Q31 data are slightly different and we describe each algorithm in turn.
- Floating-point
- The main functions are arm_rfft_fast_f32() and arm_rfft_fast_init_f32(). The older functions arm_rfft_f32() and arm_rfft_init_f32() have been deprecated but are still documented. For f16, the functions are arm_rfft_fast_f16() and arm_rfft_fast_init_f16(). For f64, the functions are arm_rfft_fast_f64() and arm_rfft_fast_init_f64().
-- The FFT of a real N-point sequence has even symmetry in the frequency domain. The second half of the data equals the conjugate of the first half flipped in frequency. Looking at the data, we see that we can uniquely represent the FFT using only N/2 complex numbers. These are packed into the output array in alternating real and imaginary components:
-- X = { real[0], imag[0], real[1], imag[1], real[2], imag[2] ... real[(N/2)-1], imag[(N/2)-1 }
-- It happens that the first complex number (real[0], imag[0]) is actually all real. real[0] represents the DC offset, and imag[0] should be 0. (real[1], imag[1]) is the fundamental frequency, (real[2], imag[2]) is the first harmonic and so on.
+- The FFT of a real N-point sequence has even symmetry in the frequency domain. The second half of the data equals the conjugate of the first half flipped in frequency. This conjugate part is not computed by the float RFFT. As consequence, the output of a N point real FFT should be a N//2 + 1 complex numbers so N + 2 floats.
+- It happens that the first complex of number of the RFFT output is actually all real. Its real part represents the DC offset. The value at Nyquist frequency is also real.
+- Those two complex numbers can be encoded with 2 floats rather than using two numbers with an imaginary part set to zero.
+- The implementation is using a trick so that the output buffer can be N float : the last real is packaged in the imaginary part of the first complex (since this imaginary part is not used and is zero).
- The real FFT functions pack the frequency domain data in this fashion. The forward transform outputs the data in this form and the inverse transform expects input data in this form. The function always performs the needed bitreversal so that the input and output data is always in normal order. The functions support lengths of [32, 64, 128, ..., 4096] samples.
-- Q15 and Q31
- The real algorithms are defined in a similar manner and utilize N/2 complex transforms behind the scenes.
+- Q15 and Q31
- The real algorithms are defined in a similar manner and utilize N/2 complex transforms behind the scenes.
+- But warning, contrary to the float version, the fixed point implementation RFFT is also computing the conjugate part (except for MVE version) so the output buffer must be bigger. Also the fixed point RFFTs are not using any trick to pack the DC and Nyquist frequency in the same complex number. The RIFFT is not using the conjugate part but it is still using the Nyquist frequency value. The details are given in the documentation for the functions.
- The complex transforms used internally include scaling to prevent fixed-point overflows. The overall scaling equals 1/(fftLen/2). Due to the use of complex transform internally, the source buffer is modified by the rfft.
- A separate instance structure must be defined for each transform used but twiddle factor and bit reversal tables can be reused.
- There is also an associated initialization function for each data type. The initialization function performs the following operations:
@@ -249,8 +251,7 @@ Real Inverse Fast Fourier Transform
-- Returns
- none
-- For the RIFFT, the source buffer must at least have length fftLenReal + 2. The last two elements must be equal to what would be generated by the RFFT: (pSrc[0] - pSrc[1]) and 0.0f
+- Returns
- none
@@ -835,8 +836,8 @@ Real Inverse Fast Fourier Transform
| 8192 | 1.15 | 13.3 | 0 |
-- If the input buffer is of length N (fftLenReal), the output buffer must have length 2N + 2 since it is containing the conjugate part. (N/2 + 1 + N/2 complex samples) The input buffer is modified by this function.
-- For the RIFFT, the source buffer must have at least length fftLenReal + 2 which is (N/2 + 1 complex samples). It is not using the conjugate part. The last two elements must be equal to what would be generated by the RFFT: (pSrc[0] - pSrc[1]) >> 1 and 0
+- If the input buffer is of length N (fftLenReal), the output buffer must have length 2N since it is containing the conjugate part (except for MVE version where N+2 is enough). The input buffer is modified by this function.
+- For the RIFFT, the source buffer must have length N+2 since the Nyquist frequency value is needed but conjugate part is ignored. It is not using the packing trick of the float version.
@@ -927,8 +928,8 @@ Real Inverse Fast Fourier Transform
| 8192 | 1.31 | 13.19 | 0 |
-- If the input buffer is of length N (fftLenReal), the output buffer must have length 2N + 2 since it is containing the conjugate part. (N/2 + 1 + N/2 complex samples) The input buffer is modified by this function.
-- For the RIFFT, the source buffer must have at least length fftLenReal + 2 which is (N/2 + 1 complex samples). It is not using the conjugate part. The last two elements must be equal to what would be generated by the RFFT: (pSrc[0] - pSrc[1]) >> 1 and 0
+- If the input buffer is of length N (fftLenReal), the output buffer must have length 2N since it is containing the conjugate part (except for MVE version where N+2 is enough). The input buffer is modified by this function.
+- For the RIFFT, the source buffer must have length N+2 since the Nyquist frequency value is needed but conjugate part is ignored. It is not using the packing trick of the float version.
diff --git a/version.js b/version.js
index c1f211ea..9c491c29 100644
--- a/version.js
+++ b/version.js
@@ -1,6 +1,6 @@
//--- list of versions ---
const versions = {
- "main": "1.14.4-dev10",
+ "main": "1.14.4-dev11",
"latest": "1.14.3",
"v1.14.2": "1.14.2",
"v1.14.1": "1.14.1",