1.2.2.3 mchp_cmplx_mag_squared_q31()

void mchp_cmplx_mag_squared_q31 (const q31_t * pSrc, q31_t * pDst, uint32_t numSamples)

Q31 complex magnitude squared.

Parameters:
in pSrc

points to the complex input vector (interleaved Re/Im)

out pDst

points to the real output vector

in numSamples

number of complex samples in the input vector

Note:

Output vector length must be at least numSamples elements.