Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
Eigen::TriangularView< _MatrixType, _Mode > Class Template Reference

Expression of a triangular part in a matrix. More...

#include <TriangularMatrix.h>

Inheritance diagram for Eigen::TriangularView< _MatrixType, _Mode >:
Inheritance graph
[legend]

Public Types

enum  { Mode = _Mode, Flags = internal::traits<TriangularView>::Flags, TransposeMode, IsVectorAtCompileTime = false }
 
typedef TriangularView< const typename MatrixType::AdjointReturnType, TransposeModeAdjointReturnType
 
typedef TriangularViewImpl< _MatrixType, _Mode, typename internal::traits< _MatrixType >::StorageKindBase
 
typedef TriangularView< const MatrixConjugateReturnType, ModeConjugateReturnType
 
typedef TriangularView< const typename MatrixType::ConstTransposeReturnType, TransposeModeConstTransposeReturnType
 
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, TransposeModeTransposeReturnType
 

Public Member Functions

const EIGEN_DEVICE_FUNC AdjointReturnType adjoint () const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
const EIGEN_DEVICE_FUNC ConjugateReturnType conjugate () const
 
template<bool Cond>
EIGEN_DEVICE_FUNC internal::conditional< Cond, ConjugateReturnType, ConstTriangularView >::type conjugateIf () const
 
EIGEN_DEVICE_FUNC Scalar determinant () const
 
EIGEN_DEVICE_FUNC NestedExpressionnestedExpression ()
 
const EIGEN_DEVICE_FUNC NestedExpressionnestedExpression () const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC SelfAdjointView< MatrixTypeNestedNonRef, ModeselfadjointView ()
 
const EIGEN_DEVICE_FUNC SelfAdjointView< MatrixTypeNestedNonRef, ModeselfadjointView () const
 
template<typename Other >
const EIGEN_DEVICE_FUNC Solve< TriangularView, Other > solve (const MatrixBase< Other > &other) const
 
EIGEN_DEVICE_FUNC TransposeReturnType transpose ()
 
const EIGEN_DEVICE_FUNC ConstTransposeReturnType transpose () const
 
EIGEN_DEVICE_FUNC TriangularView (MatrixType &matrix)
 

Protected Types

typedef TriangularView< typename internal::add_const< MatrixType >::type, _Mode > ConstTriangularView
 
typedef internal::remove_all< typename MatrixType::ConjugateReturnType >::type MatrixConjugateReturnType
 
typedef internal::traits< TriangularView >::MatrixTypeNested MatrixTypeNested
 
typedef internal::traits< TriangularView >::MatrixTypeNestedNonRef MatrixTypeNestedNonRef
 

Protected Attributes

MatrixTypeNested m_matrix
 

Detailed Description

template<typename _MatrixType, unsigned int _Mode>
class Eigen::TriangularView< _MatrixType, _Mode >

Expression of a triangular part in a matrix.

Parameters
MatrixTypethe type of the object in which we are taking the triangular part
Modethe 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.

See also
MatrixBase::triangularView()

Definition at line 187 of file TriangularMatrix.h.

Member Typedef Documentation

◆ AdjointReturnType

template<typename _MatrixType , unsigned int _Mode>
typedef TriangularView<const typename MatrixType::AdjointReturnType,TransposeMode> Eigen::TriangularView< _MatrixType, _Mode >::AdjointReturnType

Definition at line 257 of file TriangularMatrix.h.

◆ Base

template<typename _MatrixType , unsigned int _Mode>
typedef TriangularViewImpl<_MatrixType, _Mode, typename internal::traits<_MatrixType>::StorageKind > Eigen::TriangularView< _MatrixType, _Mode >::Base

Definition at line 192 of file TriangularMatrix.h.

◆ ConjugateReturnType

template<typename _MatrixType , unsigned int _Mode>
typedef TriangularView<const MatrixConjugateReturnType,Mode> Eigen::TriangularView< _MatrixType, _Mode >::ConjugateReturnType

Definition at line 239 of file TriangularMatrix.h.

◆ ConstTransposeReturnType

template<typename _MatrixType , unsigned int _Mode>
typedef TriangularView<const typename MatrixType::ConstTransposeReturnType,TransposeMode> Eigen::TriangularView< _MatrixType, _Mode >::ConstTransposeReturnType

Definition at line 273 of file TriangularMatrix.h.

◆ ConstTriangularView

template<typename _MatrixType , unsigned int _Mode>
typedef TriangularView<typename internal::add_const<MatrixType>::type, _Mode> Eigen::TriangularView< _MatrixType, _Mode >::ConstTriangularView
protected

Definition at line 201 of file TriangularMatrix.h.

◆ MatrixConjugateReturnType

template<typename _MatrixType , unsigned int _Mode>
typedef internal::remove_all<typename MatrixType::ConjugateReturnType>::type Eigen::TriangularView< _MatrixType, _Mode >::MatrixConjugateReturnType
protected

Definition at line 200 of file TriangularMatrix.h.

◆ MatrixType

template<typename _MatrixType , unsigned int _Mode>
typedef _MatrixType Eigen::TriangularView< _MatrixType, _Mode >::MatrixType

Definition at line 194 of file TriangularMatrix.h.

◆ MatrixTypeNested

template<typename _MatrixType , unsigned int _Mode>
typedef internal::traits<TriangularView>::MatrixTypeNested Eigen::TriangularView< _MatrixType, _Mode >::MatrixTypeNested
protected

Definition at line 197 of file TriangularMatrix.h.

◆ MatrixTypeNestedNonRef

template<typename _MatrixType , unsigned int _Mode>
typedef internal::traits<TriangularView>::MatrixTypeNestedNonRef Eigen::TriangularView< _MatrixType, _Mode >::MatrixTypeNestedNonRef
protected

Definition at line 198 of file TriangularMatrix.h.

◆ NestedExpression

template<typename _MatrixType , unsigned int _Mode>
typedef internal::traits<TriangularView>::MatrixTypeNestedCleaned Eigen::TriangularView< _MatrixType, _Mode >::NestedExpression

Definition at line 206 of file TriangularMatrix.h.

◆ Scalar

template<typename _MatrixType , unsigned int _Mode>
typedef internal::traits<TriangularView>::Scalar Eigen::TriangularView< _MatrixType, _Mode >::Scalar

Definition at line 193 of file TriangularMatrix.h.

◆ StorageKind

template<typename _MatrixType , unsigned int _Mode>
typedef internal::traits<TriangularView>::StorageKind Eigen::TriangularView< _MatrixType, _Mode >::StorageKind

Definition at line 205 of file TriangularMatrix.h.

◆ TransposeReturnType

template<typename _MatrixType , unsigned int _Mode>
typedef TriangularView<typename MatrixType::TransposeReturnType,TransposeMode> Eigen::TriangularView< _MatrixType, _Mode >::TransposeReturnType

Definition at line 263 of file TriangularMatrix.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename _MatrixType , unsigned int _Mode>
anonymous enum
Enumerator
Mode 
Flags 
TransposeMode 
IsVectorAtCompileTime 

Definition at line 208 of file TriangularMatrix.h.

Constructor & Destructor Documentation

◆ TriangularView()

template<typename _MatrixType , unsigned int _Mode>
EIGEN_DEVICE_FUNC Eigen::TriangularView< _MatrixType, _Mode >::TriangularView ( MatrixType matrix)
inlineexplicit

Definition at line 219 of file TriangularMatrix.h.

Member Function Documentation

◆ adjoint()

template<typename _MatrixType , unsigned int _Mode>
const EIGEN_DEVICE_FUNC AdjointReturnType Eigen::TriangularView< _MatrixType, _Mode >::adjoint ( ) const
inline
See also
MatrixBase::adjoint() const

Definition at line 260 of file TriangularMatrix.h.

◆ cols()

template<typename _MatrixType , unsigned int _Mode>
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index Eigen::TriangularView< _MatrixType, _Mode >::cols ( ) const
inline

Returns
the number of columns.
See also
rows(), ColsAtCompileTime

Definition at line 229 of file TriangularMatrix.h.

◆ conjugate()

template<typename _MatrixType , unsigned int _Mode>
const EIGEN_DEVICE_FUNC ConjugateReturnType Eigen::TriangularView< _MatrixType, _Mode >::conjugate ( ) const
inline
See also
MatrixBase::conjugate() const

Definition at line 242 of file TriangularMatrix.h.

◆ conjugateIf()

template<typename _MatrixType , unsigned int _Mode>
template<bool Cond>
EIGEN_DEVICE_FUNC internal::conditional<Cond,ConjugateReturnType,ConstTriangularView>::type Eigen::TriangularView< _MatrixType, _Mode >::conjugateIf ( ) const
inline
Returns
an expression of the complex conjugate of *this if Cond==true, returns *this otherwise.

Definition at line 251 of file TriangularMatrix.h.

◆ determinant()

template<typename _MatrixType , unsigned int _Mode>
EIGEN_DEVICE_FUNC Scalar Eigen::TriangularView< _MatrixType, _Mode >::determinant ( ) const
inline
Returns
the determinant of the triangular matrix
See also
MatrixBase::determinant()

Definition at line 321 of file TriangularMatrix.h.

◆ nestedExpression() [1/2]

template<typename _MatrixType , unsigned int _Mode>
EIGEN_DEVICE_FUNC NestedExpression& Eigen::TriangularView< _MatrixType, _Mode >::nestedExpression ( )
inline
Returns
a reference to the nested expression

Definition at line 237 of file TriangularMatrix.h.

◆ nestedExpression() [2/2]

template<typename _MatrixType , unsigned int _Mode>
const EIGEN_DEVICE_FUNC NestedExpression& Eigen::TriangularView< _MatrixType, _Mode >::nestedExpression ( ) const
inline
Returns
a const reference to the nested expression

Definition at line 233 of file TriangularMatrix.h.

◆ rows()

template<typename _MatrixType , unsigned int _Mode>
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index Eigen::TriangularView< _MatrixType, _Mode >::rows ( ) const
inline

Returns
the number of rows.
See also
cols(), RowsAtCompileTime

Definition at line 226 of file TriangularMatrix.h.

◆ selfadjointView() [1/2]

template<typename _MatrixType , unsigned int _Mode>
EIGEN_DEVICE_FUNC SelfAdjointView<MatrixTypeNestedNonRef,Mode> Eigen::TriangularView< _MatrixType, _Mode >::selfadjointView ( )
inline
Returns
a selfadjoint view of the referenced triangular part which must be either Upper or Lower.

This is a shortcut for

this->nestedExpression().selfadjointView<(*this)::Mode>()
See also
MatrixBase::selfadjointView()

Definition at line 303 of file TriangularMatrix.h.

◆ selfadjointView() [2/2]

template<typename _MatrixType , unsigned int _Mode>
const EIGEN_DEVICE_FUNC SelfAdjointView<MatrixTypeNestedNonRef,Mode> Eigen::TriangularView< _MatrixType, _Mode >::selfadjointView ( ) const
inline

This is the const version of selfadjointView()

Definition at line 311 of file TriangularMatrix.h.

◆ solve()

template<typename _MatrixType , unsigned int _Mode>
template<typename Other >
const EIGEN_DEVICE_FUNC Solve<TriangularView, Other> Eigen::TriangularView< _MatrixType, _Mode >::solve ( const MatrixBase< Other > &  other) const
inline

Definition at line 284 of file TriangularMatrix.h.

◆ transpose() [1/2]

template<typename _MatrixType , unsigned int _Mode>
EIGEN_DEVICE_FUNC TransposeReturnType Eigen::TriangularView< _MatrixType, _Mode >::transpose ( )
inline
See also
MatrixBase::transpose()

Definition at line 266 of file TriangularMatrix.h.

◆ transpose() [2/2]

template<typename _MatrixType , unsigned int _Mode>
const EIGEN_DEVICE_FUNC ConstTransposeReturnType Eigen::TriangularView< _MatrixType, _Mode >::transpose ( ) const
inline
See also
MatrixBase::transpose() const

Definition at line 276 of file TriangularMatrix.h.

Member Data Documentation

◆ m_matrix

template<typename _MatrixType , unsigned int _Mode>
MatrixTypeNested Eigen::TriangularView< _MatrixType, _Mode >::m_matrix
protected

Definition at line 333 of file TriangularMatrix.h.


The documentation for this class was generated from the following file:
Eigen::TriangularView::Mode
@ Mode
Definition: TriangularMatrix.h:209
Eigen::TriangularView::nestedExpression
const EIGEN_DEVICE_FUNC NestedExpression & nestedExpression() const
Definition: TriangularMatrix.h:233


gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:11:41