1.1.2.3 mchp_dot_prod_f32()
void mchp_dot_prod_f32 (const float32_t * pSrcA, const float32_t * pSrcB, uint32_t blockSize, float32_t * result)
Dot product of single-precision floating-point vectors.
Computes: result = sum(pSrcA[n] * pSrcB[n]) for n = 0..blockSize-1
| 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 |
Pointer to the accumulated dot-product value |
Note:
All input and output arrays must be at least blockSize elements long.
