template<typename _DiagonalVectorType>
DiagonalWrapper class
Expression of a diagonal matrix.
Contents
This class is an expression of a diagonal matrix, but not storing its own vector of diagonal coefficients, instead wrapping an existing vector expression. It is the return type of MatrixBase::
Constructors, destructors, conversion operators
- DiagonalWrapper(DiagonalVectorType& a_diagonal) explicit
Public functions
- auto diagonal() const -> const DiagonalVectorType&
Function documentation
template<typename _DiagonalVectorType>
Eigen:: DiagonalWrapper<_DiagonalVectorType>:: DiagonalWrapper(DiagonalVectorType& a_diagonal) explicit
Constructor from expression of diagonal coefficients to wrap.
template<typename _DiagonalVectorType>
const DiagonalVectorType& Eigen:: DiagonalWrapper<_DiagonalVectorType>:: diagonal() const
Returns | a const reference to the wrapped expression of diagonal coefficients. |
---|