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. |
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 |
const Block< Part, RowsAtCompileTime, 1 > | col (int i) |
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 |
Scalar coeff | ( | int | row, | |
int | col | |||
) | const [inline] |
Short version: don't use this function, use operator()(int,int) const instead.
Long version: this function is similar to operator()(int,int) const , but without the assertion. Use this for limiting the performance cost of debugging code when doing repeated coefficient access. Only use this when it is guaranteed that the parameters row and col are in range.
If EIGEN_INTERNAL_DEBUGGING is defined, an assertion will be made, making this function equivalent to operator()(int,int) const .
Reimplemented from MatrixBase.
Scalar& coeffRef | ( | int | row, | |
int | col | |||
) | [inline] |
Short version: don't use this function, use operator()(int,int) instead.
Long version: this function is similar to operator()(int,int), but without the assertion. Use this for limiting the performance cost of debugging code when doing repeated coefficient access. Only use this when it is guaranteed that the parameters row and col are in range.
If EIGEN_INTERNAL_DEBUGGING is defined, an assertion will be made, making this function equivalent to operator()(int,int).
Reimplemented from MatrixBase.
This is the const version of col().
Reimplemented from MatrixBase.
discard any writes to a column
Reimplemented from MatrixBase.
int cols | ( | void | ) | const [inline] |
void lazyAssign | ( | const Other & | other | ) | [inline] |
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] |
This is the const version of row().
Reimplemented from MatrixBase.
discard any writes to a row
Reimplemented from MatrixBase.
int rows | ( | void | ) | const [inline] |
int stride | ( | void | ) | const [inline] |
Reimplemented from MatrixBase.
void swap | ( | const MatrixBase< OtherDerived > & | other | ) | [inline] |
swaps *this with the expression other.
Reimplemented from MatrixBase.