|
发表于 2022-1-28 20:54:05
|
显示全部楼层
Description
Calculates the sum of the squares of the elements in the input vector. The underlying algorithm is used:
Result = pSrc[0] * pSrc[0] + pSrc[1] * pSrc[1] + pSrc[2] * pSrc[2] + ... + pSrc[blockSize-1] * pSrc[blockSize-1];
There are separate functions for floating point, Q31, Q15, and Q7 data types.
Since the result is not divided by the length, those functions are in fact computing something which is more an energy than a power.
看样子自己都裂开了 |
|