CMSIS-DSP
Version 1.4.4
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. | |
void | arm_dot_prod_q15 (q15_t *pSrcA, q15_t *pSrcB, uint32_t blockSize, q63_t *result) |
Dot product of Q15 vectors. | |
void | arm_dot_prod_q31 (q31_t *pSrcA, q31_t *pSrcB, uint32_t blockSize, q63_t *result) |
Dot product of Q31 vectors. | |
void | arm_dot_prod_q7 (q7_t *pSrcA, q7_t *pSrcB, uint32_t blockSize, q31_t *result) |
Dot product of Q7 vectors. | |
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.
void arm_dot_prod_f32 | ( | float32_t * | pSrcA, |
float32_t * | pSrcB, | ||
uint32_t | blockSize, | ||
float32_t * | result | ||
) |
[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 |
References blockSize.
Referenced by main().
[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:
[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: