From 8268f6ca18f9f9ba9dbc209f7096a112f3a9c6ab Mon Sep 17 00:00:00 2001
From: Sylvester Kaczmarek
<16242628+sylvesterkaczmarek@users.noreply.github.com>
Date: Sat, 22 Aug 2026 21:29:17 +0100
Subject: [PATCH] Document in-place complex magnitude support
---
Source/ComplexMathFunctions/arm_cmplx_mag_f32.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c b/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c
index 9f06bb243..19c2cded9 100644
--- a/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c
+++ b/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c
@@ -48,6 +48,11 @@
The input array has a total of 2*numSamples values;
the output array has a total of numSamples values.
+ @par In-place operation
+ The source and destination buffers may be identical. In this case, the
+ numSamples magnitude values overwrite the first numSamples
+ elements of the input buffer.
+
The underlying algorithm is used: