![]() |
![]() |
Collaboration diagram for DSP_w_vec:
![]() |
void | DSP_w_vec (const short *restrict x, const short *restrict y, short m, short *restrict r, int nr) |
void DSP_w_vec | ( | const short *restrict | x, | |
const short *restrict | y, | |||
short | m, | |||
short *restrict | r, | |||
int | nr | |||
) |
This routine is used to obtain the weighted vector sum. Both the inputs and output are 16-bit numbers
x | = Vector being weighted | |
y | = Summation vector | |
m | = Weighting factor | |
r | = Output vector | |
nr | = Dimensions of the vectors |