DSPF_sp_w_vec
[Math]

Collaboration diagram for DSPF_sp_w_vec:


Detailed Description

void DSPF_sp_w_vec (const float *x1, const float *x2, const float m, float *restrict y, const int nx)


Function Documentation

void DSPF_sp_w_vec ( const float *  x1,
const float *  x2,
const float  m,
float *restrict  y,
const int  nx 
)

This routine is used to obtain the weighted vector sum. Both the inputs and output are single-precision floating-point numbers.

Parameters:
x1 Pointer to first input array.
x2 Pointer to second input array.
m Weight factor.
y Output array pointer.
nx Number of elements in arrays.
Algorithm:
DSPF_sp_w_vec_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
The value of nx must be a multiple of 4 and > 0
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.


Copyright 2014, Texas Instruments Incorporated