DSPF_sp_vecadd
[Math]

Collaboration diagram for DSPF_sp_vecadd:


Detailed Description

void DSPF_sp_vecadd (float *restrict x, float *restrict y, float *restrict r, int nx)


Function Documentation

void DSPF_sp_vecadd ( float *restrict  x,
float *restrict  y,
float *restrict  r,
int  nx 
)

This program performs a addition on a vector. The result is stored in a vector.

Parameters:
x = Input data array of float
y = Input data array of float
r = Output data array of float
nx = Number of elements in the arrays
Algorithm:
DSPF_sp_vecadd_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:
Arrays x, y, r do not overlap
nx is a multiple of 4 and >= 4
Implementation notes:
Endian Support: The code supports both big and little endian modes.
Interruptibility: The code is interruptible.


Copyright 2014, Texas Instruments Incorporated