Functions

Matrix Vector operations.

Functions

static void vm_M3Math::mvmult (T_fp res[], T_fp const m[], T_fp const v[])
static void vm_M3Math::mtvmult (T_fp res[], T_fp const m[], T_fp const v[])

Function Documentation

template<class T_fp >
void vm_M3Math< T_fp >::mtvmult ( T_fp  res[],
T_fp const   m[],
T_fp const   v[] 
) [inline, static, inherited]

Matrix multiplication of vector v by transpose of matrix m.

result = m_transpose _matrix_multiply_ v.

Parameters:
res resulting matrix (as stored flat 1D array)
m matrix to be transposed and multiplied
v vector to be multiplied

Definition at line 382 of file vm_m3math.h.

template<class T_fp >
void vm_M3Math< T_fp >::mvmult ( T_fp  res[],
T_fp const   m[],
T_fp const   v[] 
) [inline, static, inherited]

Matrix multiplication of vector v by matrix m.

result = m _matrix_multiply_ v.

Parameters:
res resulting matrix (as stored flat 1D array)
m matrix to be multiplied
v vector to be multiplied

Definition at line 373 of file vm_m3math.h.