1.6.2.7 mchp_power_f32()
void mchp_power_f32 (const float32_t * pSrc, uint32_t blockSize, float32_t * pResult)
Sum of the squares of the elements of a single-precision floating-point vector.
Computes: result = sum_{i=0..blockSize-1} (pSrc[i] * pSrc[i])
| in | pSrc |
Pointer to input vector |
| in | blockSize |
Number of samples to process |
| out | pResult |
Computed value |
Note:
-
NaN values propagate to the result.
-
Overflow may result in +Inf.
-
Behavior is undefined if blockSize is zero.
