DSPF_sp_vecsum_sq
[Math]

Collaboration diagram for DSPF_sp_vecsum_sq:


Detailed Description

float DSPF_sp_vecsum_sq (const float *x, const int nx)


Function Documentation

float DSPF_sp_vecsum_sq ( const float *  x,
const int  nx 
)

This routine performs a sum of squares of the elements of the array x and returns the sum.

Parameters:
x Pointer to input array.
nx Number of elements in arrays.
Algorithm:
DSPF_sp_vecsum_sq_cn.c is the natural C equivalent of the optimized linear assembly code without restrictions. Note that the linear assembly code is optimized and restrictions may apply.
Assumptions:
The x array must be double-word aligned
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.


Copyright 2014, Texas Instruments Incorporated