Collaboration diagram for DSPF_sp_w_vec:
void | DSPF_sp_w_vec (const float *x1, const float *x2, const float m, float *restrict y, const int nx) |
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.
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. |