DSP_vecsumsq
[Math]

Collaboration diagram for DSP_vecsumsq:


Detailed Description

int DSP_vecsumsq (const short *x, int nx)


Function Documentation

int DSP_vecsumsq ( const short *  x,
int  nx 
)

This routine returns the sum of squares of the elements contained in the vector x[ ]. return Sum of the squares.

Parameters:
x = Pointer to input data vector
nx = Number of elements of input and output vectors
Algorithm:
DSP_vecsumsq_cn.c is the natural C equivalent of the optimized intrinsic C code without restrictions note that the intrinsic C code is optimized and restrictions may apply.
Assumptions:
nx must be a multiple of 4 and greater than or equal to 4.
x must be double-word aligned.
Implementation notes:
Endian Support: The code supports both big and little endian modes.
Interruptibility: The code is interruptible.


Copyright 2014, Texas Instruments Incorporated