vm_math  1.0.7
Matrix Vector operations.

Functions

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

Detailed Description

Function Documentation

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

Matrix multiplication of vector v by transpose of matrix m.

result = m_transpose matrix_multiply v.

Parameters
resresulting matrix (as stored flat 1D array)
mmatrix to be transposed and multiplied
vvector 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[] 
)
inlinestatic

Matrix multiplication of vector v by matrix m.

result = m matrix_multiply v.

Parameters
resresulting matrix (as stored flat 1D array)
mmatrix to be multiplied
vvector to be multiplied

Definition at line 373 of file vm_m3math.h.