Functions

For a matrix, insert or extract a vector.

Functions

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

Function Documentation

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

Copy a given column of m to a vector.

Parameters:
m matrix (as stored flat 1D array)
col vector to receive the copy
whichcol column 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 
) [inline, static, inherited]

Copy a given row of m to a vector.

Parameters:
m matrix (as stored flat 1D array)
row vector to receive the copy
whichrow row 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 
) [inline, static, inherited]

Copy a vector to a given column of m.

Parameters:
m matrix (as stored flat 1D array)
col vector to be stored
whichcol column 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 
) [inline, static, inherited]

Copy a vector to a given row of m.

Parameters:
m matrix (as stored flat 1D array)
row vector to be stored
whichrow row index

Definition at line 321 of file vm_m3math.h.