Base class for a modifiable matrix slice.
Definition at line 691 of file MatrixBase.hpp.
#include <MatrixBase.hpp>
Public Member Functions | |
RefMatrixSliceBase () | |
![]() | |
template<class E > | |
BaseClass & | assignFrom (const ConstMatrixBase< T, E > &x) |
template<class E > | |
BaseClass & | assignFrom (const ConstVectorBase< T, E > &x) |
BaseClass & | assignFrom (const std::valarray< T > &x) |
BaseClass & | assignFrom (const T *x) |
BaseClass & | assignFrom (T x) |
size_t | cols () const |
returns the number of columns in the matrix More... | |
T & | operator() (size_t i, size_t j) |
returns a reference to the (i,j) element of the matrix. More... | |
BaseClass & | operator*= (const T x) |
multiplies each element in this matrix by x. More... | |
template<class E > | |
BaseClass & | operator+= (const ConstMatrixBase< T, E > &x) |
template<class E > | |
BaseClass & | operator+= (const ConstVectorBase< T, E > &x) |
BaseClass & | operator+= (const std::valarray< T > &x) |
BaseClass & | operator+= (const T *x) |
BaseClass & | operator+= (T x) |
const BaseClass | operator- () |
unary minus: multiplies each element in this matrix by -1. More... | |
template<class E > | |
BaseClass & | operator-= (const ConstMatrixBase< T, E > &x) |
template<class E > | |
BaseClass & | operator-= (const ConstVectorBase< T, E > &x) |
BaseClass & | operator-= (const std::valarray< T > &x) |
BaseClass & | operator-= (const T *x) |
BaseClass & | operator-= (T x) |
BaseClass & | operator/= (const T x) |
divides each element in this matrix by x. More... | |
RefMatrixBase () | |
default constructor More... | |
size_t | rows () const |
returns the number of rows in the matrix More... | |
size_t | size () const |
returns the rows()*cols() size of the matrix More... | |
BaseClass & | swapCols (size_t col1, size_t col2) |
BaseClass & | swapRows (size_t row1, size_t row2) |
BaseClass & | zeroize () |
BaseClass & | zeroizeCol (size_t c) |
BaseClass & | zeroizeRow (size_t r) |
virtual | ~RefMatrixBase () |
![]() | |
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 () |
Additional Inherited Members | |
![]() | |
void | matSliceCheck (size_t sourceRowSize, size_t sourceColSize) const |
![]() | |
T | constMatrixRef (size_t i, size_t j) const |
|
inlineexplicit |
Definition at line 695 of file MatrixBase.hpp.