Functions | |
static void | vm_VMath::lincomb (T_fp res[], T_fp c1, T_fp const v1[], T_fp c2, T_fp const v2[]) |
void vm_VMath< T_fp, N_len >::lincomb | ( | T_fp | res[], | |
T_fp | c1, | |||
T_fp const | v1[], | |||
T_fp | c2, | |||
T_fp const | v2[] | |||
) | [inline, static, inherited] |
form linear combination: res = c1 * v1 + c2 * v2.
For each i: res[i] = c1 * v1[i] + c2 * v2[i]
res | result vector | |
c1 | 1st T_fp | |
v1 | 1st vector | |
c2 | 2nd T_fp | |
v2 | 2nd vector |
Definition at line 441 of file vm_vmath.h.