Expression of a triangular part in a matrix. More...
Public Types | |
enum | { Mode , Flags , TransposeMode , IsVectorAtCompileTime } |
typedef TriangularView< const typename MatrixType::AdjointReturnType, TransposeMode > | AdjointReturnType |
typedef TriangularViewImpl< MatrixType_, Mode_, typename internal::traits< MatrixType_ >::StorageKind > | Base |
typedef TriangularView< const MatrixConjugateReturnType, Mode > | ConjugateReturnType |
typedef TriangularView< const typename MatrixType::ConstTransposeReturnType, TransposeMode > | ConstTransposeReturnType |
typedef MatrixType_ | MatrixType |
typedef internal::traits< TriangularView >::MatrixTypeNestedCleaned | NestedExpression |
typedef internal::traits< TriangularView >::Scalar | Scalar |
typedef internal::traits< TriangularView >::StorageKind | StorageKind |
typedef TriangularView< typename MatrixType::TransposeReturnType, TransposeMode > | TransposeReturnType |
Public Member Functions | |
const AdjointReturnType | adjoint () const |
EIGEN_CONSTEXPR Index | cols () const EIGEN_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 |
EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
SelfAdjointView< MatrixTypeNestedNonRef, Mode > | selfadjointView () |
const SelfAdjointView< MatrixTypeNestedNonRef, Mode > | selfadjointView () const |
template<typename Other > | |
const Solve< TriangularView, Other > | solve (const MatrixBase< Other > &other) const |
const ConstTransposeReturnType | transpose () const |
template<class Dummy = int> | |
TransposeReturnType | transpose (std::enable_if_t< Eigen::internal::is_lvalue< MatrixType >::value, Dummy * >=nullptr) |
TriangularView (MatrixType &matrix) | |
Protected Types | |
typedef TriangularView< std::add_const_t< MatrixType >, Mode_ > | ConstTriangularView |
typedef internal::remove_all_t< typename MatrixType::ConjugateReturnType > | MatrixConjugateReturnType |
typedef internal::traits< TriangularView >::MatrixTypeNested | MatrixTypeNested |
typedef internal::traits< TriangularView >::MatrixTypeNestedNonRef | MatrixTypeNestedNonRef |
Protected Attributes | |
MatrixTypeNested | m_matrix |
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.
Definition at line 188 of file TriangularMatrix.h.
typedef TriangularView<const typename MatrixType::AdjointReturnType,TransposeMode> Eigen::TriangularView< MatrixType_, Mode_ >::AdjointReturnType |
Definition at line 258 of file TriangularMatrix.h.
typedef TriangularViewImpl<MatrixType_, Mode_, typename internal::traits<MatrixType_>::StorageKind > Eigen::TriangularView< MatrixType_, Mode_ >::Base |
Definition at line 193 of file TriangularMatrix.h.
typedef TriangularView<const MatrixConjugateReturnType,Mode> Eigen::TriangularView< MatrixType_, Mode_ >::ConjugateReturnType |
Definition at line 240 of file TriangularMatrix.h.
typedef TriangularView<const typename MatrixType::ConstTransposeReturnType,TransposeMode> Eigen::TriangularView< MatrixType_, Mode_ >::ConstTransposeReturnType |
Definition at line 274 of file TriangularMatrix.h.
|
protected |
Definition at line 202 of file TriangularMatrix.h.
|
protected |
Definition at line 201 of file TriangularMatrix.h.
typedef MatrixType_ Eigen::TriangularView< MatrixType_, Mode_ >::MatrixType |
Definition at line 195 of file TriangularMatrix.h.
|
protected |
Definition at line 198 of file TriangularMatrix.h.
|
protected |
Definition at line 199 of file TriangularMatrix.h.
typedef internal::traits<TriangularView>::MatrixTypeNestedCleaned Eigen::TriangularView< MatrixType_, Mode_ >::NestedExpression |
Definition at line 207 of file TriangularMatrix.h.
typedef internal::traits<TriangularView>::Scalar Eigen::TriangularView< MatrixType_, Mode_ >::Scalar |
Definition at line 194 of file TriangularMatrix.h.
typedef internal::traits<TriangularView>::StorageKind Eigen::TriangularView< MatrixType_, Mode_ >::StorageKind |
Definition at line 206 of file TriangularMatrix.h.
typedef TriangularView<typename MatrixType::TransposeReturnType,TransposeMode> Eigen::TriangularView< MatrixType_, Mode_ >::TransposeReturnType |
Definition at line 264 of file TriangularMatrix.h.
anonymous enum |
Enumerator | |
---|---|
Mode | |
Flags | |
TransposeMode | |
IsVectorAtCompileTime |
Definition at line 209 of file TriangularMatrix.h.
|
inlineexplicit |
Definition at line 220 of file TriangularMatrix.h.
|
inline |
Definition at line 261 of file TriangularMatrix.h.
|
inline |
Definition at line 230 of file TriangularMatrix.h.
|
inline |
Definition at line 243 of file TriangularMatrix.h.
|
inline |
*this
if Cond==true, returns *this
otherwise. Definition at line 252 of file TriangularMatrix.h.
|
inline |
Definition at line 322 of file TriangularMatrix.h.
|
inline |
|
inline |
Definition at line 234 of file TriangularMatrix.h.
|
inline |
Definition at line 227 of file TriangularMatrix.h.
|
inline |
This is a shortcut for
Definition at line 304 of file TriangularMatrix.h.
|
inline |
|
inline |
Definition at line 285 of file TriangularMatrix.h.
|
inline |
Definition at line 277 of file TriangularMatrix.h.
|
inline |
Definition at line 268 of file TriangularMatrix.h.
|
protected |
Definition at line 334 of file TriangularMatrix.h.