Functions
DSPF_sp_w_vec
Collaboration diagram for DSPF_sp_w_vec:

Functions

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

Detailed Description

Function Documentation

◆ DSPF_sp_w_vec()

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.

   @param x1 Pointer to first input array.
   @param x2 Pointer to second input array.
   @param m  Weight factor.
   @param y  Output array pointer.
   @param 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 2 and > 0
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.

Copyright 2022, Texas Instruments Incorporated