Expression of a triangular matrix extracted from a given matrix. More...
Public Member Functions | |
const MatrixType & | _expression () const |
Scalar | coeff (int row, int col) const |
Scalar & | coeffRef (int row, int col) |
const Block< Part, RowsAtCompileTime, 1 > | col (int i) |
const Block< Part, RowsAtCompileTime, 1 > | col (int i) const |
int | cols () const |
template<typename Other > | |
void | lazyAssign (const Other &other) |
Part & | operator*= (const typename ei_traits< MatrixType >::Scalar &other) |
template<typename Other > | |
Part & | operator+= (const Other &other) |
template<typename Other > | |
Part & | operator-= (const Other &other) |
Part & | operator/= (const typename ei_traits< MatrixType >::Scalar &other) |
template<typename Other > | |
Part & | operator= (const Other &other) |
Part (const MatrixType &matrix) | |
const Block< Part, 1, ColsAtCompileTime > | row (int i) const |
const Block< Part, 1, ColsAtCompileTime > | row (int i) |
int | rows () const |
int | stride () const |
template<typename OtherDerived > | |
void | swap (const MatrixBase< OtherDerived > &other) |
Protected Attributes | |
const MatrixType::Nested | m_matrix |
Expression of a triangular matrix extracted from a given matrix.
MatrixType | the type of the object in which we are taking the triangular part |
Mode | the kind of triangular matrix expression to construct. Can be UpperTriangular, StrictlyUpperTriangular, UnitUpperTriangular, LowerTriangular, StrictlyLowerTriangular, UnitLowerTriangular. This is in fact a bit field; it must have either UpperTriangularBit or LowerTriangularBit, and additionnaly it may have either ZeroDiagBit or UnitDiagBit. |
This class represents an expression of the upper or lower triangular part of a square matrix, possibly with a further assumption on the diagonal. It is the return type of MatrixBase::part() and most of the time this is the only way it is used.
discard any writes to a column
Reimplemented from MatrixBase< Part< MatrixType, Mode > >.
int cols | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Part< MatrixType, Mode > >.
void lazyAssign | ( | const Other & | other | ) |
Part< MatrixType, Mode > & operator*= | ( | const typename ei_traits< MatrixType >::Scalar & | other | ) | [inline] |
Part< MatrixType, Mode > & operator+= | ( | const Other & | other | ) | [inline] |
Part< MatrixType, Mode > & operator-= | ( | const Other & | other | ) | [inline] |
Part< MatrixType, Mode > & operator/= | ( | const typename ei_traits< MatrixType >::Scalar & | other | ) | [inline] |
Part< MatrixType, Mode > & operator= | ( | const Other & | other | ) | [inline] |
discard any writes to a row
Reimplemented from MatrixBase< Part< MatrixType, Mode > >.
int rows | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Part< MatrixType, Mode > >.
int stride | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Part< MatrixType, Mode > >.