template<typename _DiagonalVectorType>
class Eigen::DiagonalWrapper< _DiagonalVectorType >
Expression of a diagonal matrix.
- Parameters
-
_DiagonalVectorType | the type of the vector of diagonal coefficients |
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::asDiagonal() and most of the time this is the only way that it is used.
- See also
- class DiagonalMatrix, class DiagonalBase, MatrixBase::asDiagonal()