|
| MATRIX2 (const REAL *array) |
|
| MATRIX2 (REAL m00, REAL m01, REAL m10, REAL m11) |
|
| MATRIX2 (const MATRIX2 &source) |
|
| MATRIX2 (const MATRIXN &m) |
|
| MATRIX2 (const SHAREDMATRIXN &m) |
|
| MATRIX2 (const CONST_SHAREDMATRIXN &m) |
|
unsigned | size () const |
|
unsigned | rows () const |
|
unsigned | columns () const |
|
bool | is_symmetric (REAL tolerance) const |
|
bool | orthonormalize () |
|
bool | is_orthonormal () const |
|
REAL | det () const |
|
MATRIX2 & | invert () |
|
MATRIX2 | inverse () const |
|
void | set_rot_Z (REAL angle) |
|
void | transpose () |
|
ORIGIN2 | get_row (unsigned i) const |
|
ORIGIN2 | get_column (unsigned i) const |
|
void | set_identity () |
|
void | set_zero () |
|
ORIGIN2 | mult (const ORIGIN2 &v) const |
|
ORIGIN2 | transpose_mult (const ORIGIN2 &v) const |
|
MATRIX2 | mult (const MATRIX2 &m) const |
|
MATRIX2 | transpose_mult (const MATRIX2 &m) const |
|
MATRIX2 | transpose_mult_transpose (const MATRIX2 &m) const |
|
MATRIX2 | mult_transpose (const MATRIX2 &m) const |
|
MATRIX2 & | operator= (const MATRIX2 &source) |
|
MATRIX2 & | operator= (const MATRIXN &source) |
|
MATRIX2 & | operator= (const SHAREDMATRIXN &source) |
|
MATRIX2 & | operator= (const CONST_SHAREDMATRIXN &source) |
|
MATRIX2 & | operator+= (const MATRIX2 &m) |
|
MATRIX2 & | operator-= (const MATRIX2 &m) |
|
MATRIX2 & | operator*= (const MATRIX2 &m) |
|
MATRIX2 & | operator*= (REAL scalar) |
|
MATRIX2 & | operator/= (REAL scalar) |
|
ORIGIN2 | operator* (const ORIGIN2 &o) const |
|
MATRIX2 | operator+ (const MATRIX2 &m) const |
|
MATRIX2 | operator- (const MATRIX2 &m) const |
|
MATRIX2 | operator* (const MATRIX2 &m) const |
|
MATRIX2 | operator* (REAL scalar) const |
|
MATRIX2 | operator/ (REAL scalar) const |
|
MATRIX2 | operator- () const |
|
unsigned | leading_dim () const |
|
unsigned | inc () const |
|
const REAL & | xx () const |
|
const REAL & | yx () const |
|
const REAL & | xy () const |
|
const REAL & | yy () const |
|
REAL & | xx () |
|
REAL & | yx () |
|
REAL & | xy () |
|
REAL & | yy () |
|
REAL & | operator() (unsigned i, unsigned j) |
|
const REAL & | operator() (unsigned i, unsigned j) const |
|
MATRIX2 & | resize (unsigned rows, unsigned columns, bool preserve=false) |
|
const REAL * | data (unsigned i) const |
|
REAL * | data (unsigned i) |
|
const REAL * | data () const |
| Gets a constant pointer to the beginning of the matrix array.
|
|
REAL * | data () |
| Gets a pointer to the beginning of the matrix array.
|
|
CONST_COLUMN_ITERATOR | block_column_iterator_begin (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) const |
| This file consists of general routines for constant matrices. More...
|
|
CONST_COLUMN_ITERATOR | block_column_iterator_end (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) const |
| Gets a column iterator to a block.
|
|
CONST_ROW_ITERATOR | block_row_iterator_begin (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) const |
| Gets a row iterator to a block.
|
|
CONST_ROW_ITERATOR | block_row_iterator_end (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) const |
| Gets a row iterator to a block.
|
|
template<class V > |
V & | get_row (unsigned row, V &v) const |
|
template<class V > |
V & | get_column (unsigned column, V &v) const |
|
template<class T , class U > |
U & | transpose_mult_transpose (const T &x, U &y, REAL alpha=(REAL) 1.0, REAL beta=(REAL) 0.0) const |
| Does the operation y = beta*y + alpha*this'*x'.
|
|
template<class T , class U > |
U & | mult_transpose (const T &x, U &y, REAL alpha=(REAL) 1.0, REAL beta=(REAL) 0.0) const |
| Does the operation y = beta*y + alpha*this*x'.
|
|
template<class T , class U > |
U & | transpose_mult (const T &x, U &y, REAL alpha=(REAL) 1.0, REAL beta=(REAL) 0.0) const |
| Does the operation y = beta*y + alpha*this'*x.
|
|
template<class T , class U > |
U & | mult (const T &x, U &y, REAL alpha=(REAL) 1.0, REAL beta=(REAL) 0.0) const |
| Does the operation y = beta*y + alpha*this*x.
|
|
template<class M > |
M & | get_sub_mat (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end, M &m, Transposition trans=eNoTranspose) const |
| Gets the specified sub matrix. More...
|
|
template<class ForwardIterator , class M > |
M & | select_columns (ForwardIterator col_start, ForwardIterator col_end, M &m) const |
| Gets a submatrix of columns (not necessarily a block) More...
|
|
template<class M > |
M & | select_columns (std::vector< bool > &col_select, M &m) const |
| Gets a submatrix of columns (not necessarily a block) More...
|
|
template<class ForwardIterator , class M > |
M & | select_rows (ForwardIterator row_start, ForwardIterator row_end, M &m) const |
| Gets a submatrix of rows (not necessarily a block) More...
|
|
template<class M > |
M & | select_rows (std::vector< bool > &row_select, M &m) const |
| Gets a submatrix of rows (not necessarily a block) More...
|
|
template<class ForwardIterator1 , class ForwardIterator2 , class X > |
X & | select (ForwardIterator1 row_start, ForwardIterator1 row_end, ForwardIterator2 col_start, ForwardIterator2 col_end, X &m) const |
| Gets a submatrix (not necessarily a block) More...
|
|
template<class X > |
X & | select (const std::vector< bool > &rows, const std::vector< bool > &cols, X &m) const |
| Gets a submatrix (not necessarily a block)
|
|
template<class M > |
M & | select_square (const std::vector< bool > &indices, M &result) const |
| Gets a square submatrix (not necessarily a block)
|
|
template<class ForwardIterator , class M > |
M & | select_square (ForwardIterator start, ForwardIterator end, M &m) const |
|
CONST_COLUMN_ITERATOR | column_iterator_begin () const |
| Get an iterator to the beginning.
|
|
CONST_COLUMN_ITERATOR | column_iterator_end () const |
| Get an iterator to the end.
|
|
CONST_ROW_ITERATOR | row_iterator_begin () const |
| Get an iterator to the beginning.
|
|
CONST_ROW_ITERATOR | row_iterator_end () const |
| Get an iterator to the end.
|
|
COLUMN_ITERATOR | block_column_iterator_begin (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) |
| Gets a column iterator to a block.
|
|
COLUMN_ITERATOR | block_column_iterator_end (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) |
| Gets a column iterator to a block.
|
|
ROW_ITERATOR | block_row_iterator_begin (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) |
| Gets a row iterator to a block.
|
|
ROW_ITERATOR | block_row_iterator_end (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) |
| Gets a row iterator to a block.
|
|
template<class V > |
MATRIXX & | set_row (unsigned row, const V &v) |
|
template<class V > |
MATRIXX & | set_column (unsigned column, const V &v) |
|
template<class M > |
MATRIXX & | set_sub_mat (unsigned row_start, unsigned col_start, const M &m, Transposition trans=eNoTranspose) |
| Sets the specified sub matrix. More...
|
|
ROW_ITERATOR | row_iterator_begin () |
| Get an iterator to the beginning (iterates column by column)
|
|
ROW_ITERATOR | row_iterator_end () |
| Get an iterator to the end.
|
|
COLUMN_ITERATOR | column_iterator_begin () |
| Get an iterator to the beginning (iterates column by column)
|
|
COLUMN_ITERATOR | column_iterator_end () |
| Get an iterator to the end.
|
|
| MATRIX2 (const REAL *array) |
|
| MATRIX2 (REAL m00, REAL m01, REAL m10, REAL m11) |
|
| MATRIX2 (const MATRIX2 &source) |
|
| MATRIX2 (const MATRIXN &m) |
|
| MATRIX2 (const SHAREDMATRIXN &m) |
|
| MATRIX2 (const CONST_SHAREDMATRIXN &m) |
|
unsigned | size () const |
|
unsigned | rows () const |
|
unsigned | columns () const |
|
bool | is_symmetric (REAL tolerance) const |
|
bool | orthonormalize () |
|
bool | is_orthonormal () const |
|
REAL | det () const |
|
MATRIX2 & | invert () |
|
MATRIX2 | inverse () const |
|
void | set_rot_Z (REAL angle) |
|
void | transpose () |
|
ORIGIN2 | get_row (unsigned i) const |
|
ORIGIN2 | get_column (unsigned i) const |
|
void | set_identity () |
|
void | set_zero () |
|
ORIGIN2 | mult (const ORIGIN2 &v) const |
|
ORIGIN2 | transpose_mult (const ORIGIN2 &v) const |
|
MATRIX2 | mult (const MATRIX2 &m) const |
|
MATRIX2 | transpose_mult (const MATRIX2 &m) const |
|
MATRIX2 | transpose_mult_transpose (const MATRIX2 &m) const |
|
MATRIX2 | mult_transpose (const MATRIX2 &m) const |
|
MATRIX2 & | operator= (const MATRIX2 &source) |
|
MATRIX2 & | operator= (const MATRIXN &source) |
|
MATRIX2 & | operator= (const SHAREDMATRIXN &source) |
|
MATRIX2 & | operator= (const CONST_SHAREDMATRIXN &source) |
|
MATRIX2 & | operator+= (const MATRIX2 &m) |
|
MATRIX2 & | operator-= (const MATRIX2 &m) |
|
MATRIX2 & | operator*= (const MATRIX2 &m) |
|
MATRIX2 & | operator*= (REAL scalar) |
|
MATRIX2 & | operator/= (REAL scalar) |
|
ORIGIN2 | operator* (const ORIGIN2 &o) const |
|
MATRIX2 | operator+ (const MATRIX2 &m) const |
|
MATRIX2 | operator- (const MATRIX2 &m) const |
|
MATRIX2 | operator* (const MATRIX2 &m) const |
|
MATRIX2 | operator* (REAL scalar) const |
|
MATRIX2 | operator/ (REAL scalar) const |
|
MATRIX2 | operator- () const |
|
unsigned | leading_dim () const |
|
unsigned | inc () const |
|
const REAL & | xx () const |
|
const REAL & | yx () const |
|
const REAL & | xy () const |
|
const REAL & | yy () const |
|
REAL & | xx () |
|
REAL & | yx () |
|
REAL & | xy () |
|
REAL & | yy () |
|
REAL & | operator() (unsigned i, unsigned j) |
|
const REAL & | operator() (unsigned i, unsigned j) const |
|
MATRIX2 & | resize (unsigned rows, unsigned columns, bool preserve=false) |
|
const REAL * | data (unsigned i) const |
|
REAL * | data (unsigned i) |
|
const REAL * | data () const |
| Gets a constant pointer to the beginning of the matrix array.
|
|
REAL * | data () |
| Gets a pointer to the beginning of the matrix array.
|
|
CONST_COLUMN_ITERATOR | block_column_iterator_begin (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) const |
| This file consists of general routines for constant matrices. More...
|
|
CONST_COLUMN_ITERATOR | block_column_iterator_end (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) const |
| Gets a column iterator to a block.
|
|
CONST_ROW_ITERATOR | block_row_iterator_begin (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) const |
| Gets a row iterator to a block.
|
|
CONST_ROW_ITERATOR | block_row_iterator_end (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) const |
| Gets a row iterator to a block.
|
|
template<class V > |
V & | get_row (unsigned row, V &v) const |
|
template<class V > |
V & | get_column (unsigned column, V &v) const |
|
template<class T , class U > |
U & | transpose_mult_transpose (const T &x, U &y, REAL alpha=(REAL) 1.0, REAL beta=(REAL) 0.0) const |
| Does the operation y = beta*y + alpha*this'*x'.
|
|
template<class T , class U > |
U & | mult_transpose (const T &x, U &y, REAL alpha=(REAL) 1.0, REAL beta=(REAL) 0.0) const |
| Does the operation y = beta*y + alpha*this*x'.
|
|
template<class T , class U > |
U & | transpose_mult (const T &x, U &y, REAL alpha=(REAL) 1.0, REAL beta=(REAL) 0.0) const |
| Does the operation y = beta*y + alpha*this'*x.
|
|
template<class T , class U > |
U & | mult (const T &x, U &y, REAL alpha=(REAL) 1.0, REAL beta=(REAL) 0.0) const |
| Does the operation y = beta*y + alpha*this*x.
|
|
template<class M > |
M & | get_sub_mat (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end, M &m, Transposition trans=eNoTranspose) const |
| Gets the specified sub matrix. More...
|
|
template<class ForwardIterator , class M > |
M & | select_columns (ForwardIterator col_start, ForwardIterator col_end, M &m) const |
| Gets a submatrix of columns (not necessarily a block) More...
|
|
template<class M > |
M & | select_columns (std::vector< bool > &col_select, M &m) const |
| Gets a submatrix of columns (not necessarily a block) More...
|
|
template<class ForwardIterator , class M > |
M & | select_rows (ForwardIterator row_start, ForwardIterator row_end, M &m) const |
| Gets a submatrix of rows (not necessarily a block) More...
|
|
template<class M > |
M & | select_rows (std::vector< bool > &row_select, M &m) const |
| Gets a submatrix of rows (not necessarily a block) More...
|
|
template<class ForwardIterator1 , class ForwardIterator2 , class X > |
X & | select (ForwardIterator1 row_start, ForwardIterator1 row_end, ForwardIterator2 col_start, ForwardIterator2 col_end, X &m) const |
| Gets a submatrix (not necessarily a block) More...
|
|
template<class X > |
X & | select (const std::vector< bool > &rows, const std::vector< bool > &cols, X &m) const |
| Gets a submatrix (not necessarily a block)
|
|
template<class M > |
M & | select_square (const std::vector< bool > &indices, M &result) const |
| Gets a square submatrix (not necessarily a block)
|
|
template<class ForwardIterator , class M > |
M & | select_square (ForwardIterator start, ForwardIterator end, M &m) const |
|
CONST_COLUMN_ITERATOR | column_iterator_begin () const |
| Get an iterator to the beginning.
|
|
CONST_COLUMN_ITERATOR | column_iterator_end () const |
| Get an iterator to the end.
|
|
CONST_ROW_ITERATOR | row_iterator_begin () const |
| Get an iterator to the beginning.
|
|
CONST_ROW_ITERATOR | row_iterator_end () const |
| Get an iterator to the end.
|
|
COLUMN_ITERATOR | block_column_iterator_begin (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) |
| Gets a column iterator to a block.
|
|
COLUMN_ITERATOR | block_column_iterator_end (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) |
| Gets a column iterator to a block.
|
|
ROW_ITERATOR | block_row_iterator_begin (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) |
| Gets a row iterator to a block.
|
|
ROW_ITERATOR | block_row_iterator_end (unsigned row_start, unsigned row_end, unsigned col_start, unsigned col_end) |
| Gets a row iterator to a block.
|
|
template<class V > |
MATRIXX & | set_row (unsigned row, const V &v) |
|
template<class V > |
MATRIXX & | set_column (unsigned column, const V &v) |
|
template<class M > |
MATRIXX & | set_sub_mat (unsigned row_start, unsigned col_start, const M &m, Transposition trans=eNoTranspose) |
| Sets the specified sub matrix. More...
|
|
ROW_ITERATOR | row_iterator_begin () |
| Get an iterator to the beginning (iterates column by column)
|
|
ROW_ITERATOR | row_iterator_end () |
| Get an iterator to the end.
|
|
COLUMN_ITERATOR | column_iterator_begin () |
| Get an iterator to the beginning (iterates column by column)
|
|
COLUMN_ITERATOR | column_iterator_end () |
| Get an iterator to the end.
|
|