![]() |
Eigen
5.0.1-dev+60122df6
|
#include <Eigen/src/Core/TriangularMatrix.h>
Expression of a triangular part in a 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 Upper, Lower, UnitUpper, UnitLower, StrictlyUpper, or StrictlyLower. This is in fact a bit field; it must have either Upper or Lower, and additionally it may have UnitDiag or ZeroDiag or neither. |
This class represents a triangular part of a matrix, not necessarily square. Strictly speaking, for rectangular matrices one should speak of "trapezoid" parts. This class is the return type of MatrixBase::triangularView() and SparseMatrixBase::triangularView(), and most of the time this is the only way it is used.
Public Member Functions | |
| const AdjointReturnType | adjoint () const |
| constexpr Index | cols () const noexcept |
| const ConjugateReturnType | conjugate () const |
| template<bool Cond> | |
| std::conditional_t< Cond, ConjugateReturnType, ConstTriangularView > | conjugateIf () const |
| Scalar | determinant () const |
| NestedExpression & | nestedExpression () |
| const NestedExpression & | nestedExpression () const |
| constexpr Index | rows () const noexcept |
| SelfAdjointView< MatrixTypeNestedNonRef, Mode > | selfadjointView () |
| const SelfAdjointView< MatrixTypeNestedNonRef, Mode > | selfadjointView () const |
| const ConstTransposeReturnType | transpose () const |
| template<class Dummy = int> | |
| TransposeReturnType | transpose (std::enable_if_t< Eigen::internal::is_lvalue< MatrixType >::value, Dummy * >=nullptr) |
|
inline |
|
inlineconstexprnoexcept |
|
inline |
|
inline |
*this if Cond==true, returns *this otherwise.
|
inline |
|
inline |
|
inline |
|
inlineconstexprnoexcept |
|
inline |
This is a shortcut for
|
inline |
This is the const version of selfadjointView()
|
inline |
|
inline |