Expression of a diagonal matrix. More...
#include <DiagonalMatrix.h>
Public Types | |
typedef _DiagonalVectorType | DiagonalVectorType |
typedef DiagonalWrapper | Nested |
Public Member Functions | |
const DiagonalVectorType & | diagonal () const |
DiagonalWrapper (const DiagonalVectorType &diagonal) | |
Protected Attributes | |
const 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.
Definition at line 244 of file DiagonalMatrix.h.
typedef _DiagonalVectorType DiagonalWrapper< _DiagonalVectorType >::DiagonalVectorType |
Reimplemented from DiagonalBase< DiagonalWrapper< _DiagonalVectorType > >.
Definition at line 249 of file DiagonalMatrix.h.
typedef DiagonalWrapper DiagonalWrapper< _DiagonalVectorType >::Nested |
Definition at line 250 of file DiagonalMatrix.h.
DiagonalWrapper< _DiagonalVectorType >::DiagonalWrapper | ( | const DiagonalVectorType & | diagonal | ) | [inline] |
Constructor from expression of diagonal coefficients to wrap.
Definition at line 254 of file DiagonalMatrix.h.
const DiagonalVectorType& DiagonalWrapper< _DiagonalVectorType >::diagonal | ( | ) | const [inline] |
Reimplemented from DiagonalBase< DiagonalWrapper< _DiagonalVectorType > >.
Definition at line 257 of file DiagonalMatrix.h.
const DiagonalVectorType::Nested DiagonalWrapper< _DiagonalVectorType >::m_diagonal [protected] |
Definition at line 260 of file DiagonalMatrix.h.