DSPF_sp_dotprod
[Math]

Collaboration diagram for DSPF_sp_dotprod:


Detailed Description

float DSPF_sp_dotprod (const float *x, const float *y, const int nx)


Function Documentation

float DSPF_sp_dotprod ( const float *  x,
const float *  y,
const int  nx 
)

This routine calculates the dot product of 2 single-precision float vectors

Parameters:
x Pointer to array holding the first floating-point vector
y Pointer to array holding the second floating-point vector
nx Number of values in the x and y vectors
Algorithm:
DSPF_sp_dotprod_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 and y arrays must be double-word aligned.
nx is a multple of 8 and >=8.
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.


Copyright 2014, Texas Instruments Incorporated