|
MOAB
4.9.3pre
|
Expression of a triangular part in a matrix. More...
#include <TriangularMatrix.h>
Public Types | |
| enum | { Mode = _Mode, Flags = internal::traits<TriangularView>::Flags, TransposeMode, IsVectorAtCompileTime = false } |
| typedef TriangularViewImpl < _MatrixType, _Mode, typename internal::traits< _MatrixType > ::StorageKind > | Base |
| typedef internal::traits < TriangularView >::Scalar | Scalar |
| typedef _MatrixType | MatrixType |
| typedef internal::traits < TriangularView > ::StorageKind | StorageKind |
| typedef internal::traits < TriangularView > ::MatrixTypeNestedCleaned | NestedExpression |
| typedef TriangularView< const MatrixConjugateReturnType, Mode > | ConjugateReturnType |
| typedef TriangularView< const typename MatrixType::AdjointReturnType, TransposeMode > | AdjointReturnType |
| typedef TriangularView < typename MatrixType::TransposeReturnType, TransposeMode > | TransposeReturnType |
| typedef TriangularView< const typename MatrixType::ConstTransposeReturnType, TransposeMode > | ConstTransposeReturnType |
Public Member Functions | |
| EIGEN_DEVICE_FUNC | TriangularView (MatrixType &matrix) |
| TriangularView & | operator= (const TriangularView &other) |
| EIGEN_DEVICE_FUNC Index | rows () const |
| EIGEN_DEVICE_FUNC Index | cols () const |
| EIGEN_DEVICE_FUNC const NestedExpression & | nestedExpression () const |
| EIGEN_DEVICE_FUNC NestedExpression & | nestedExpression () |
| EIGEN_DEVICE_FUNC const ConjugateReturnType | conjugate () const |
| EIGEN_DEVICE_FUNC const AdjointReturnType | adjoint () const |
| EIGEN_DEVICE_FUNC TransposeReturnType | transpose () |
| EIGEN_DEVICE_FUNC const ConstTransposeReturnType | transpose () const |
| template<typename Other > | |
| EIGEN_DEVICE_FUNC const Solve < TriangularView, Other > | solve (const MatrixBase< Other > &other) const |
| EIGEN_DEVICE_FUNC SelfAdjointView < MatrixTypeNestedNonRef, Mode > | selfadjointView () |
| EIGEN_DEVICE_FUNC const SelfAdjointView < MatrixTypeNestedNonRef, Mode > | selfadjointView () const |
| EIGEN_DEVICE_FUNC Scalar | determinant () const |
Protected Types | |
| typedef internal::traits < TriangularView > ::MatrixTypeNested | MatrixTypeNested |
| typedef internal::traits < TriangularView > ::MatrixTypeNestedNonRef | MatrixTypeNestedNonRef |
| typedef internal::remove_all < typename MatrixType::ConjugateReturnType > ::type | MatrixConjugateReturnType |
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 186 of file TriangularMatrix.h.
| typedef TriangularView<const typename MatrixType::AdjointReturnType,TransposeMode> Eigen::TriangularView< _MatrixType, _Mode >::AdjointReturnType |
Definition at line 245 of file TriangularMatrix.h.
| typedef TriangularViewImpl<_MatrixType, _Mode, typename internal::traits<_MatrixType>::StorageKind > Eigen::TriangularView< _MatrixType, _Mode >::Base |
Definition at line 191 of file TriangularMatrix.h.
| typedef TriangularView<const MatrixConjugateReturnType,Mode> Eigen::TriangularView< _MatrixType, _Mode >::ConjugateReturnType |
Definition at line 239 of file TriangularMatrix.h.
| typedef TriangularView<const typename MatrixType::ConstTransposeReturnType,TransposeMode> Eigen::TriangularView< _MatrixType, _Mode >::ConstTransposeReturnType |
Definition at line 261 of file TriangularMatrix.h.
typedef internal::remove_all<typename MatrixType::ConjugateReturnType>::type Eigen::TriangularView< _MatrixType, _Mode >::MatrixConjugateReturnType [protected] |
Definition at line 199 of file TriangularMatrix.h.
| typedef _MatrixType Eigen::TriangularView< _MatrixType, _Mode >::MatrixType |
Definition at line 193 of file TriangularMatrix.h.
typedef internal::traits<TriangularView>::MatrixTypeNested Eigen::TriangularView< _MatrixType, _Mode >::MatrixTypeNested [protected] |
Definition at line 196 of file TriangularMatrix.h.
typedef internal::traits<TriangularView>::MatrixTypeNestedNonRef Eigen::TriangularView< _MatrixType, _Mode >::MatrixTypeNestedNonRef [protected] |
Definition at line 197 of file TriangularMatrix.h.
| typedef internal::traits<TriangularView>::MatrixTypeNestedCleaned Eigen::TriangularView< _MatrixType, _Mode >::NestedExpression |
Definition at line 204 of file TriangularMatrix.h.
| typedef internal::traits<TriangularView>::Scalar Eigen::TriangularView< _MatrixType, _Mode >::Scalar |
Definition at line 192 of file TriangularMatrix.h.
| typedef internal::traits<TriangularView>::StorageKind Eigen::TriangularView< _MatrixType, _Mode >::StorageKind |
Definition at line 203 of file TriangularMatrix.h.
| typedef TriangularView<typename MatrixType::TransposeReturnType,TransposeMode> Eigen::TriangularView< _MatrixType, _Mode >::TransposeReturnType |
Definition at line 251 of file TriangularMatrix.h.
| anonymous enum |
Definition at line 206 of file TriangularMatrix.h.
| EIGEN_DEVICE_FUNC Eigen::TriangularView< _MatrixType, _Mode >::TriangularView | ( | MatrixType & | matrix | ) | [inline, explicit] |
Definition at line 217 of file TriangularMatrix.h.
: m_matrix(matrix) {}
| EIGEN_DEVICE_FUNC const AdjointReturnType Eigen::TriangularView< _MatrixType, _Mode >::adjoint | ( | ) | const [inline] |
Definition at line 248 of file TriangularMatrix.h.
{ return AdjointReturnType(m_matrix.adjoint()); }
| EIGEN_DEVICE_FUNC Index Eigen::TriangularView< _MatrixType, _Mode >::cols | ( | void | ) | const [inline] |
Definition at line 229 of file TriangularMatrix.h.
{ return m_matrix.cols(); }
| EIGEN_DEVICE_FUNC const ConjugateReturnType Eigen::TriangularView< _MatrixType, _Mode >::conjugate | ( | ) | const [inline] |
Definition at line 242 of file TriangularMatrix.h.
{ return ConjugateReturnType(m_matrix.conjugate()); }
| EIGEN_DEVICE_FUNC Scalar Eigen::TriangularView< _MatrixType, _Mode >::determinant | ( | ) | const [inline] |
Definition at line 309 of file TriangularMatrix.h.
| EIGEN_DEVICE_FUNC const NestedExpression& Eigen::TriangularView< _MatrixType, _Mode >::nestedExpression | ( | ) | const [inline] |
Definition at line 233 of file TriangularMatrix.h.
{ return m_matrix; }
| EIGEN_DEVICE_FUNC NestedExpression& Eigen::TriangularView< _MatrixType, _Mode >::nestedExpression | ( | ) | [inline] |
Definition at line 237 of file TriangularMatrix.h.
{ return m_matrix; }
| TriangularView& Eigen::TriangularView< _MatrixType, _Mode >::operator= | ( | const TriangularView< _MatrixType, _Mode > & | other | ) | [inline] |
Definition at line 221 of file TriangularMatrix.h.
{ return Base::operator=(other); }
| EIGEN_DEVICE_FUNC Index Eigen::TriangularView< _MatrixType, _Mode >::rows | ( | void | ) | const [inline] |
Definition at line 226 of file TriangularMatrix.h.
{ return m_matrix.rows(); }
| EIGEN_DEVICE_FUNC SelfAdjointView<MatrixTypeNestedNonRef,Mode> Eigen::TriangularView< _MatrixType, _Mode >::selfadjointView | ( | ) | [inline] |
This is a shortcut for
this->nestedExpression().selfadjointView<(*this)::Mode>()
Definition at line 291 of file TriangularMatrix.h.
{
EIGEN_STATIC_ASSERT((Mode&(UnitDiag|ZeroDiag))==0,PROGRAMMING_ERROR);
return SelfAdjointView<MatrixTypeNestedNonRef,Mode>(m_matrix);
}
| EIGEN_DEVICE_FUNC const SelfAdjointView<MatrixTypeNestedNonRef,Mode> Eigen::TriangularView< _MatrixType, _Mode >::selfadjointView | ( | ) | const [inline] |
This is the const version of selfadjointView()
Definition at line 299 of file TriangularMatrix.h.
{
EIGEN_STATIC_ASSERT((Mode&(UnitDiag|ZeroDiag))==0,PROGRAMMING_ERROR);
return SelfAdjointView<MatrixTypeNestedNonRef,Mode>(m_matrix);
}
| EIGEN_DEVICE_FUNC const Solve<TriangularView, Other> Eigen::TriangularView< _MatrixType, _Mode >::solve | ( | const MatrixBase< Other > & | other | ) | const [inline] |
Definition at line 272 of file TriangularMatrix.h.
{ return Solve<TriangularView, Other>(*this, other.derived()); }
| EIGEN_DEVICE_FUNC TransposeReturnType Eigen::TriangularView< _MatrixType, _Mode >::transpose | ( | ) | [inline] |
Definition at line 254 of file TriangularMatrix.h.
{
EIGEN_STATIC_ASSERT_LVALUE(MatrixType)
typename MatrixType::TransposeReturnType tmp(m_matrix);
return TransposeReturnType(tmp);
}
| EIGEN_DEVICE_FUNC const ConstTransposeReturnType Eigen::TriangularView< _MatrixType, _Mode >::transpose | ( | ) | const [inline] |
Definition at line 264 of file TriangularMatrix.h.
{
return ConstTransposeReturnType(m_matrix.transpose());
}
MatrixTypeNested Eigen::TriangularView< _MatrixType, _Mode >::m_matrix [protected] |
Definition at line 321 of file TriangularMatrix.h.