CMSIS-DSP
Version 1.5.1
CMSIS DSP Software Library
|
Functions | |
void | arm_dot_prod_f32 (float32_t *pSrcA, float32_t *pSrcB, uint32_t blockSize, float32_t *result) |
Dot product of floating-point vectors. More... | |
void | arm_dot_prod_q15 (q15_t *pSrcA, q15_t *pSrcB, uint32_t blockSize, q63_t *result) |
Dot product of Q15 vectors. More... | |
void | arm_dot_prod_q31 (q31_t *pSrcA, q31_t *pSrcB, uint32_t blockSize, q63_t *result) |
Dot product of Q31 vectors. More... | |
void | arm_dot_prod_q7 (q7_t *pSrcA, q7_t *pSrcB, uint32_t blockSize, q31_t *result) |
Dot product of Q7 vectors. More... | |
Computes the dot product of two vectors. The vectors are multiplied element-by-element and then summed.
sum = pSrcA[0]*pSrcB[0] + pSrcA[1]*pSrcB[1] + ... + pSrcA[blockSize-1]*pSrcB[blockSize-1]
There are separate functions for floating-point, Q7, Q15, and Q31 data types.
[in] | *pSrcA | points to the first input vector |
[in] | *pSrcB | points to the second input vector |
[in] | blockSize | number of samples in each vector |
[out] | *result | output result returned here |
Scaling and Overflow Behavior:
References __SIMD32, __SMLALD(), and blockSize.
[in] | *pSrcA | points to the first input vector |
[in] | *pSrcB | points to the second input vector |
[in] | blockSize | number of samples in each vector |
[out] | *result | output result returned here |
Scaling and Overflow Behavior:
References blockSize.
[in] | *pSrcA | points to the first input vector |
[in] | *pSrcB | points to the second input vector |
[in] | blockSize | number of samples in each vector |
[out] | *result | output result returned here |
Scaling and Overflow Behavior:
References __SIMD32, __SMLAD(), __SXTB16(), and blockSize.