Expression of a diagonal matrix. More...
#include <DiagonalMatrix.h>
Public Member Functions | |
const DiagonalVectorType & | diagonal () const |
DiagonalWrapper (DiagonalVectorType &diagonal) | |
Protected Attributes | |
DiagonalVectorType::Nested | m_diagonal |
Expression of a diagonal matrix.
_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.
DiagonalWrapper | ( | DiagonalVectorType & | diagonal | ) | [inline] |
Constructor from expression of diagonal coefficients to wrap.
const DiagonalVectorType& diagonal | ( | ) | const [inline] |
References DiagonalWrapper< _DiagonalVectorType >::m_diagonal.
DiagonalVectorType::Nested m_diagonal [protected] |
Referenced by DiagonalWrapper< _DiagonalVectorType >::diagonal().