|
Darc Library
2012.11
|
Template matrix class for M(rows)-by-N(columns)-dimensional matrices of arbitrary type. More...
#include <cr_matrix_ex.h>
Public Member Functions | |
| CR_Matrix () | |
| CR_Matrix (UInt _m, UInt _n) | |
| ~CR_Matrix () | |
| CR_Matrix (UInt _m, UInt _n, const T *_data) | |
| CR_Matrix (const CR_Matrix &_src) | |
| CR_Matrix & | operator= (const CR_Matrix &_src) |
| Real | operator() (int _m, int _n) const |
| Real & | operator() (int _m, int _n) |
Public Attributes | |
| T * | m_data |
Template matrix class for M(rows)-by-N(columns)-dimensional matrices of arbitrary type.
Unlike CR_MatrixMxN, objects of this class may change dimension during runtime. All values are saved in column order.
| darc::core::CR_Matrix< T >::CR_Matrix | ( | ) | [inline] |
Default constructor.
| darc::core::CR_Matrix< T >::CR_Matrix | ( | UInt | _m, |
| UInt | _n | ||
| ) | [inline] |
| darc::core::CR_Matrix< T >::~CR_Matrix | ( | ) | [inline] |
| darc::core::CR_Matrix< T >::CR_Matrix | ( | UInt | _m, |
| UInt | _n, | ||
| const T * | _data | ||
| ) | [inline] |
Creates a m-by-n matrix from data array.
| darc::core::CR_Matrix< T >::CR_Matrix | ( | const CR_Matrix< T > & | _src | ) | [inline] |
Copy Constructor.
| Real darc::core::CR_Matrix< T >::operator() | ( | int | _m, |
| int | _n | ||
| ) | const [inline] |
Operator "Read".
| Real& darc::core::CR_Matrix< T >::operator() | ( | int | _m, |
| int | _n | ||
| ) | [inline] |
Operator "Write".
| CR_Matrix& darc::core::CR_Matrix< T >::operator= | ( | const CR_Matrix< T > & | _src | ) | [inline] |
Operator "Assignment".
| T* darc::core::CR_Matrix< T >::m_data |