1.1.2.7 mchp_negate_f32()

void mchp_negate_f32 (const float32_t * pSrc, float32_t * pDst, uint32_t blockSize)

Negates the elements of a single-precision floating-point vector.

Computes: pDst[n] = -pSrc[n]

Parameters:
in pSrc

points to the input vector

out pDst

points to the output vector

in blockSize

number of samples in the vector

Note:

All input and output arrays must be at least blockSize elements long.