CMSIS-DSP: Some minor corrections.

Documentation and #define naming.
pull/19/head
Christophe Favergeon 5 years ago
parent c080770065
commit a888f7205b

@ -20,8 +20,8 @@
* limitations under the License.
*/
#ifndef _ARM_VEC_MATH_H
#define _ARM_VEC_MATH_H
#ifndef _ARM_VEC_MATH_F16_H
#define _ARM_VEC_MATH_F16_H
#include "arm_math_types_f16.h"
#include "arm_common_tables_f16.h"
@ -306,7 +306,7 @@ __STATIC_INLINE f16x8_t vtanhq_f16(
#endif /* ARM FLOAT16 SUPPORTED */
#endif /* _ARM_VEC_MATH_H */
#endif /* _ARM_VEC_MATH_F16_H */
/**
*

@ -906,7 +906,7 @@ arm_status arm_mat_mult_f32(
/* matrix multiplication */
while (colCnt > 0U)
{
/* c(m,n) = a(1,1) * b(1,1) + a(1,2) * b(2,1) + .... + a(m,p) * b(p,n) */
/* c(m,p) = a(m,1) * b(1,p) + a(m,2) * b(2,p) + .... + a(m,n) * b(n,p) */
/* Perform the multiply-accumulates */
sum += *pIn1++ * *pIn2;
@ -937,7 +937,7 @@ arm_status arm_mat_mult_f32(
while (colCnt > 0U)
{
/* c(m,n) = a(1,1) * b(1,1) + a(1,2) * b(2,1) + .... + a(m,p) * b(p,n) */
/* c(m,p) = a(m,1) * b(1,p) + a(m,2) * b(2,p) + .... + a(m,n) * b(n,p) */
/* Perform the multiply-accumulates */
sum += *pIn1++ * *pIn2;

@ -468,7 +468,7 @@
}
outputfft.create(ref.nbSamples(),TransformCF32::OUTPUT_CFFT_F32_ID,mgr);
outputfft.create(ref.nbSamples(),TransformCF32::OUTPUT_CFFT_F32_ID,mgr);
}

Loading…
Cancel
Save