@@ -20,11 +20,13 @@ extern "C" {
20
20
/**
21
21
* @ingroup math_dsp
22
22
* @defgroup math_dsp_basic Basic Math Functions
23
+ * Basic element-wise math operations for DSP.
24
+ * @{
23
25
*/
24
26
25
27
/**
26
28
* @ingroup math_dsp_basic
27
- * @addtogroup math_dsp_basic_mult Vector Multiplication
29
+ * @defgroup math_dsp_basic_mult Vector Multiplication
28
30
*
29
31
* Element-by-element multiplication of two vectors.
30
32
* <pre>
@@ -95,7 +97,7 @@ DSP_FUNC_SCOPE void zdsp_mult_f32(const DSP_DATA float32_t *src_a, const DSP_DAT
95
97
96
98
/**
97
99
* @ingroup math_dsp_basic
98
- * @addtogroup math_dsp_basic_add Vector Addition
100
+ * @defgroup math_dsp_basic_add Vector Addition
99
101
*
100
102
* Element-by-element addition of two vectors.
101
103
* <pre>
@@ -166,7 +168,7 @@ DSP_FUNC_SCOPE void zdsp_add_q31(const DSP_DATA q31_t *src_a, const DSP_DATA q31
166
168
167
169
/**
168
170
* @ingroup math_dsp_basic
169
- * @addtogroup math_dsp_basic_sub Vector Subtraction
171
+ * @defgroup math_dsp_basic_sub Vector Subtraction
170
172
*
171
173
* Element-by-element subtraction of two vectors.
172
174
* <pre>
@@ -237,7 +239,7 @@ DSP_FUNC_SCOPE void zdsp_sub_q31(const DSP_DATA q31_t *src_a, const DSP_DATA q31
237
239
238
240
/**
239
241
* @ingroup math_dsp_basic
240
- * @addtogroup math_dsp_basic_scale Vector Scale
242
+ * @defgroup math_dsp_basic_scale Vector Scale
241
243
*
242
244
* Multiply a vector by a scalar value. For floating-point data, the algorithm used is:
243
245
* <pre>
@@ -328,7 +330,7 @@ DSP_FUNC_SCOPE void zdsp_scale_q31(const DSP_DATA q31_t *src, q31_t scale_fract,
328
330
329
331
/**
330
332
* @ingroup math_dsp_basic
331
- * @addtogroup math_dsp_basic_abs Vector Absolute Value
333
+ * @defgroup math_dsp_basic_abs Vector Absolute Value
332
334
*
333
335
* Computes the absolute value of a vector on an element-by-element basis.
334
336
* <pre>
@@ -397,7 +399,7 @@ DSP_FUNC_SCOPE void zdsp_abs_q31(const DSP_DATA q31_t *src, DSP_DATA q31_t *dst,
397
399
398
400
/**
399
401
* @ingroup math_dsp_basic
400
- * @addtogroup math_dsp_basic_dot Vector Dot Product
402
+ * @defgroup math_dsp_basic_dot Vector Dot Product
401
403
*
402
404
* Computes the dot product of two vectors. The vectors are multiplied element-by-element and then
403
405
* summed.
@@ -477,7 +479,7 @@ DSP_FUNC_SCOPE void zdsp_dot_prod_q31(const DSP_DATA q31_t *src_a, const DSP_DAT
477
479
478
480
/**
479
481
* @ingroup math_dsp_basic
480
- * @addtogroup math_dsp_basic_shift Vector Shift
482
+ * @defgroup math_dsp_basic_shift Vector Shift
481
483
*
482
484
* Shifts the elements of a fixed-point vector by a specified number of bits.
483
485
* There are separate functions for Q7, Q15, and Q31 data types. The underlying algorithm used is:
@@ -546,7 +548,7 @@ DSP_FUNC_SCOPE void zdsp_shift_q31(const DSP_DATA q31_t *src, int8_t shift_bits,
546
548
547
549
/**
548
550
* @ingroup math_dsp_basic
549
- * @addtogroup math_dsp_basic_offset Vector Offset
551
+ * @defgroup math_dsp_basic_offset Vector Offset
550
552
*
551
553
* Adds a constant offset to each element of a vector.
552
554
* <pre>
@@ -620,7 +622,7 @@ DSP_FUNC_SCOPE void zdsp_offset_q31(const DSP_DATA q31_t *src, q31_t offset, DSP
620
622
621
623
/**
622
624
* @ingroup math_dsp_basic
623
- * @addtogroup math_dsp_basic_negate Vector Negate
625
+ * @defgroup math_dsp_basic_negate Vector Negate
624
626
*
625
627
* Negates the elements of a vector.
626
628
* <pre>
@@ -690,7 +692,7 @@ DSP_FUNC_SCOPE void zdsp_negate_q31(const DSP_DATA q31_t *src, DSP_DATA q31_t *d
690
692
691
693
/**
692
694
* @ingroup math_dsp_basic
693
- * @addtogroup math_dsp_basic_and Vector bitwise AND
695
+ * @defgroup math_dsp_basic_and Vector bitwise AND
694
696
*
695
697
* Compute the logical bitwise AND.
696
698
*
@@ -734,7 +736,7 @@ DSP_FUNC_SCOPE void zdsp_and_u32(const DSP_DATA uint32_t *src_a, const DSP_DATA
734
736
735
737
/**
736
738
* @ingroup math_dsp_basic
737
- * @addtogroup math_dsp_basic_or Vector bitwise OR
739
+ * @defgroup math_dsp_basic_or Vector bitwise OR
738
740
*
739
741
* Compute the logical bitwise OR.
740
742
*
@@ -778,7 +780,7 @@ DSP_FUNC_SCOPE void zdsp_or_u32(const DSP_DATA uint32_t *src_a, const DSP_DATA u
778
780
779
781
/**
780
782
* @ingroup math_dsp_basic
781
- * @addtogroup math_dsp_basic_not Vector bitwise NOT
783
+ * @defgroup math_dsp_basic_not Vector bitwise NOT
782
784
*
783
785
* Compute the logical bitwise NOT.
784
786
*
@@ -819,7 +821,7 @@ DSP_FUNC_SCOPE void zdsp_not_u32(const DSP_DATA uint32_t *src, DSP_DATA uint32_t
819
821
820
822
/**
821
823
* @ingroup math_dsp_basic
822
- * @addtogroup math_dsp_basic_xor Vector bitwise XOR
824
+ * @defgroup math_dsp_basic_xor Vector bitwise XOR
823
825
*
824
826
* Compute the logical bitwise XOR.
825
827
*
@@ -863,7 +865,7 @@ DSP_FUNC_SCOPE void zdsp_xor_u32(const DSP_DATA uint32_t *src_a, const DSP_DATA
863
865
864
866
/**
865
867
* @ingroup math_dsp_basic
866
- * @addtogroup math_dsp_basic_clip Vector Clipping
868
+ * @defgroup math_dsp_basic_clip Vector Clipping
867
869
*
868
870
* Element-by-element clipping of a value.
869
871
*
@@ -921,6 +923,10 @@ DSP_FUNC_SCOPE void zdsp_clip_q7(const DSP_DATA q7_t *src, DSP_DATA q7_t *dst, q
921
923
* @}
922
924
*/
923
925
926
+ /**
927
+ * @}
928
+ */
929
+
924
930
#ifdef __cplusplus
925
931
}
926
932
#endif
0 commit comments