A matrix base class for a non-modifiable matrix. There is no operator[] for base matrix classes.
Definition at line 65 of file MatrixBase.hpp.
#include <MatrixBase.hpp>
Public Member Functions | |
Vector< T > | colCopy (size_t c, size_t r=0) const |
size_t | cols () const |
the number of columns in the matrix More... | |
ConstMatrixBase () | |
default constructor More... | |
Vector< T > | diagCopy (void) const |
bool | isDiagonal () const |
returns true if this is a diagonal matrix More... | |
bool | isLT () const |
returns true if this is a lower triangular matrix. More... | |
bool | isSquare () const |
returns true if this is a square matrix (false for a null matrix). More... | |
bool | isSymmetric () const |
bool | isUT () const |
returns true if this is an upper triangular matrix. More... | |
T | operator() (size_t i, size_t j) const |
Vector< T > | rowCopy (size_t r, size_t c=0) const |
size_t | rows () const |
the number of rows in the matrix More... | |
size_t | size () const |
the rows()*cols() size of the matrix. More... | |
virtual | ~ConstMatrixBase () |
Protected Member Functions | |
T | constMatrixRef (size_t i, size_t j) const |
|
inlineexplicit |
default constructor
Definition at line 69 of file MatrixBase.hpp.
|
inlinevirtual |
Definition at line 71 of file MatrixBase.hpp.
|
inline |
copies out column c into a vector starting with row r
MatrixException |
Definition at line 146 of file MatrixBase.hpp.
|
inline |
the number of columns in the matrix
Definition at line 78 of file MatrixBase.hpp.
|
inlineprotected |
returns the const (i,j) element from the matrix
MatrixException |
Definition at line 198 of file MatrixBase.hpp.
|
inline |
copies out diagonal into a vector
MatrixException |
Definition at line 184 of file MatrixBase.hpp.
|
inline |
returns true if this is a diagonal matrix
Definition at line 117 of file MatrixBase.hpp.
|
inline |
returns true if this is a lower triangular matrix.
Definition at line 104 of file MatrixBase.hpp.
|
inline |
returns true if this is a square matrix (false for a null matrix).
Definition at line 89 of file MatrixBase.hpp.
|
inline |
returns true if this is a symmetrical matrix (across the primary diagonal)
Definition at line 131 of file MatrixBase.hpp.
|
inline |
returns true if this is an upper triangular matrix.
Definition at line 92 of file MatrixBase.hpp.
|
inline |
returns a const version of the (i,j)'th element in the matrix, valid for 0...rows()-1, 0...cols()-1.
Definition at line 85 of file MatrixBase.hpp.
|
inline |
copies out row r into a vector starting with column c
MatrixException |
Definition at line 165 of file MatrixBase.hpp.
|
inline |
the number of rows in the matrix
Definition at line 81 of file MatrixBase.hpp.
|
inline |
the rows()*cols() size of the matrix.
Definition at line 75 of file MatrixBase.hpp.