Functions | |
void | arm_dot_prod_f32 (float32_t *pSrcA, float32_t *pSrcB, uint32_t blockSize, float32_t *result) |
void | arm_dot_prod_q31 (q31_t *pSrcA, q31_t *pSrcB, uint32_t blockSize, q63_t *result) |
void | arm_dot_prod_q15 (q15_t *pSrcA, q15_t *pSrcB, uint32_t blockSize, q63_t *result) |
void | arm_dot_prod_q7 (q7_t *pSrcA, q7_t *pSrcB, uint32_t blockSize, q31_t *result) |
Computes the dot product of two vectors. The vectors are multiplied element-by-element and then summed. 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 | ||
) |
Dot product of floating-point vectors.
[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 |
Definition at line 53 of file arm_dot_prod_f32.c.
void arm_dot_prod_q31 | ( | q31_t * | pSrcA, |
q31_t * | pSrcB, | ||
uint32_t | blockSize, | ||
q63_t * | result | ||
) |
Dot product of Q31 vectors.
[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:
Definition at line 53 of file arm_dot_prod_q31.c.
void arm_dot_prod_q15 | ( | q15_t * | pSrcA, |
q15_t * | pSrcB, | ||
uint32_t | blockSize, | ||
q63_t * | result | ||
) |
Dot product of Q15 vectors.
[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:
Definition at line 56 of file arm_dot_prod_q15.c.
void arm_dot_prod_q7 | ( | q7_t * | pSrcA, |
q7_t * | pSrcB, | ||
uint32_t | blockSize, | ||
q31_t * | result | ||
) |
Dot product of Q7 vectors.
[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:
Definition at line 56 of file arm_dot_prod_q7.c.