vm_math  1.0.7
For a matrix, insert or extract a vector.

Functions

static void vm_M3Math< T_fp >::inject_row (T_fp m[], T_fp const row[], int whichrow)
 
static void vm_M3Math< T_fp >::inject_col (T_fp m[], T_fp const col[], int whichcol)
 
static void vm_M3Math< T_fp >::extract_row (T_fp const m[], T_fp row[], int whichrow)
 
static void vm_M3Math< T_fp >::extract_col (T_fp const m[], T_fp col[], int whichcol)
 

Detailed Description

Function Documentation

template<class T_fp >
void vm_M3Math< T_fp >::extract_col ( T_fp const  m[],
T_fp  col[],
int  whichcol 
)
inlinestatic

Copy a given column of m to a vector.

Parameters
mmatrix (as stored flat 1D array)
colvector to receive the copy
whichcolcolumn index

Definition at line 347 of file vm_m3math.h.

template<class T_fp >
void vm_M3Math< T_fp >::extract_row ( T_fp const  m[],
T_fp  row[],
int  whichrow 
)
inlinestatic

Copy a given row of m to a vector.

Parameters
mmatrix (as stored flat 1D array)
rowvector to receive the copy
whichrowrow index

Definition at line 341 of file vm_m3math.h.

template<class T_fp >
void vm_M3Math< T_fp >::inject_col ( T_fp  m[],
T_fp const  col[],
int  whichcol 
)
inlinestatic

Copy a vector to a given column of m.

Parameters
mmatrix (as stored flat 1D array)
colvector to be stored
whichcolcolumn index

Definition at line 327 of file vm_m3math.h.

template<class T_fp >
void vm_M3Math< T_fp >::inject_row ( T_fp  m[],
T_fp const  row[],
int  whichrow 
)
inlinestatic

Copy a vector to a given row of m.

Parameters
mmatrix (as stored flat 1D array)
rowvector to be stored
whichrowrow index

Definition at line 321 of file vm_m3math.h.