Eigen  3.2.91
Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense > Class Template Reference

Detailed Description

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

Base class for a triangular part in a dense matrix.

This class is an abstract base class of class TriangularView, and objects of type TriangularViewImpl cannot be instantiated. It extends class TriangularView with additional methods which available for dense expressions only.

See also
class TriangularView, MatrixBase::triangularView()
+ Inheritance diagram for Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >:

Public Types

typedef Eigen::Index Index
 The interface type of indices. More...
 

Public Member Functions

Scalar coeff (Index row, Index col) const
 
Scalar & coeffRef (Index row, Index col)
 
void copyCoeff (Index row, Index col, Other &other)
 
Derived & derived ()
 
const Derived & derived () const
 
void fill (const Scalar &value)
 
template<typename OtherDerived >
const Product< TriangularViewType, OtherDerived > operator* (const MatrixBase< OtherDerived > &rhs) const
 
TriangularViewTypeoperator*= (const typename internal::traits< MatrixType >::Scalar &other)
 
template<typename Other >
TriangularViewTypeoperator+= (const DenseBase< Other > &other)
 
template<typename Other >
TriangularViewTypeoperator-= (const DenseBase< Other > &other)
 
TriangularViewTypeoperator/= (const typename internal::traits< MatrixType >::Scalar &other)
 
template<typename OtherDerived >
TriangularViewTypeoperator= (const TriangularBase< OtherDerived > &other)
 
TriangularViewTypesetConstant (const Scalar &value)
 
TriangularViewTypesetOnes ()
 
TriangularViewTypesetZero ()
 
Index size () const
 

Friends

template<typename OtherDerived >
const Product< OtherDerived, TriangularViewTypeoperator* (const MatrixBase< OtherDerived > &lhs, const TriangularViewImpl &rhs)
 

Member Typedef Documentation

template<typename Derived>
typedef Eigen::Index Eigen::EigenBase< Derived >::Index
inherited

The interface type of indices.

To change this, #define the preprocessor symbol EIGEN_DEFAULT_DENSE_INDEX_TYPE.

Deprecated:
Since Eigen 3.3, its usage is deprecated. Use Eigen::Index instead.
See also
StorageIndex, Preprocessor directives.

Member Function Documentation

template<typename _MatrixType , unsigned int _Mode>
Scalar Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::coeff ( Index  row,
Index  col 
) const
inline
See also
MatrixBase::coeff()
Warning
the coordinates must fit into the referenced triangular part
template<typename _MatrixType , unsigned int _Mode>
Scalar& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::coeffRef ( Index  row,
Index  col 
)
inline
See also
MatrixBase::coeffRef()
Warning
the coordinates must fit into the referenced triangular part
void Eigen::TriangularBase< TriangularView< _MatrixType, _Mode > >::copyCoeff ( Index  row,
Index  col,
Other &  other 
)
inlineinherited
See also
MatrixBase::copyCoeff(row,col)
template<typename Derived>
Derived& Eigen::EigenBase< Derived >::derived ( )
inlineinherited
Returns
a reference to the derived object

Referenced by Eigen::IterativeSolverBase< ConjugateGradient< _MatrixType, _UpLo, _Preconditioner > >::analyzePattern(), Eigen::MatrixBase< Derived >::applyOnTheLeft(), Eigen::MatrixBase< Derived >::applyOnTheRight(), Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::applyTranspositionOnTheLeft(), Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::applyTranspositionOnTheRight(), Eigen::SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::bottomRightCorner(), Eigen::EigenBase< BandMatrixWrapper< _CoefficientsType, _Rows, _Cols, _Supers, _Subs, _Options > >::cols(), Eigen::SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::cols(), Eigen::IterativeSolverBase< ConjugateGradient< _MatrixType, _UpLo, _Preconditioner > >::compute(), Eigen::TriangularBase< SelfAdjointView< _MatrixType, UpLo > >::copyCoeff(), Eigen::SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::eval(), Eigen::IterativeSolverBase< ConjugateGradient< _MatrixType, _UpLo, _Preconditioner > >::factorize(), Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::indices(), Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::inverse(), Eigen::RotationBase< Derived, 3 >::operator*(), Eigen::SparseSelfAdjointView< MatrixType, _Mode >::operator*(), Eigen::Translation< _Scalar, _Dim >::operator*(), Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::operator*(), Eigen::SparseMatrixBase< Derived >::operator*(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::operator*(), Eigen::MatrixBase< Derived >::operator*=(), Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::operator=(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::operator=(), Eigen::DenseBase< Derived >::operator=(), Eigen::PlainObjectBase< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::operator=(), Eigen::PlainObjectBase< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::PlainObjectBase(), Eigen::PlainObjectBase< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::resizeLike(), Eigen::EigenBase< BandMatrixWrapper< _CoefficientsType, _Rows, _Cols, _Supers, _Subs, _Options > >::rows(), Eigen::SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::rows(), Eigen::SparseSolverBase< SimplicialLDLT< _MatrixType, _UpLo, _Ordering > >::solve(), Eigen::SparseMatrix< Scalar, RowMajor, StorageIndex >::SparseMatrix(), Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::toDenseMatrix(), Eigen::SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::topLeftCorner(), Eigen::Transform< _Scalar, _Dim, _Mode, _Options >::Transform(), Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > >::transpose(), and Eigen::SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::twistedBy().

template<typename Derived>
const Derived& Eigen::EigenBase< Derived >::derived ( ) const
inlineinherited
Returns
a const reference to the derived object
void Eigen::TriangularBase< TriangularView< _MatrixType, _Mode > >::evalTo ( MatrixBase< DenseDerived > &  other) const
inherited

Assigns a triangular or selfadjoint matrix to a dense matrix. If the matrix is triangular, the opposite part is set to zero.

void Eigen::TriangularBase< TriangularView< _MatrixType, _Mode > >::evalToLazy ( MatrixBase< DenseDerived > &  other) const
inherited

Assigns a triangular or selfadjoint matrix to a dense matrix. If the matrix is triangular, the opposite part is set to zero.

template<typename _MatrixType , unsigned int _Mode>
void Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::fill ( const Scalar &  value)
inline
template<typename _MatrixType , unsigned int _Mode>
template<typename OtherDerived >
const Product<TriangularViewType,OtherDerived> Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::operator* ( const MatrixBase< OtherDerived > &  rhs) const
inline

Efficient triangular matrix times vector/matrix product

template<typename _MatrixType , unsigned int _Mode>
TriangularViewType& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::operator*= ( const typename internal::traits< MatrixType >::Scalar &  other)
inline
template<typename _MatrixType , unsigned int _Mode>
template<typename Other >
TriangularViewType& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::operator+= ( const DenseBase< Other > &  other)
inline
template<typename _MatrixType , unsigned int _Mode>
template<typename Other >
TriangularViewType& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::operator-= ( const DenseBase< Other > &  other)
inline
template<typename _MatrixType , unsigned int _Mode>
TriangularViewType& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::operator/= ( const typename internal::traits< MatrixType >::Scalar &  other)
inline
See also
MatrixBase::operator/=()
template<typename _MatrixType , unsigned int _Mode>
template<typename OtherDerived >
TriangularViewType& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::operator= ( const TriangularBase< OtherDerived > &  other)

Assigns a triangular matrix to a triangular part of a dense matrix

template<typename _MatrixType , unsigned int _Mode>
TriangularViewType& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::setConstant ( const Scalar &  value)
inline
template<typename _MatrixType , unsigned int _Mode>
TriangularViewType& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::setOnes ( )
inline
template<typename _MatrixType , unsigned int _Mode>
TriangularViewType& Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::setZero ( )
inline
template<typename Derived>
Index Eigen::EigenBase< Derived >::size ( ) const
inlineinherited
Returns
the number of coefficients, which is rows()*cols().
See also
rows(), cols(), SizeAtCompileTime.

Friends And Related Function Documentation

template<typename _MatrixType , unsigned int _Mode>
template<typename OtherDerived >
const Product<OtherDerived,TriangularViewType> operator* ( const MatrixBase< OtherDerived > &  lhs,
const TriangularViewImpl< _MatrixType, _Mode, Dense > &  rhs 
)
friend

Efficient vector/matrix times triangular matrix product


The documentation for this class was generated from the following file: