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 230 of file DiagonalMatrix.h.
#include <src/Core/DiagonalMatrix.h>
Public Member Functions | |
DiagonalWrapper (const DiagonalVectorType &diagonal) | |
Constructor from expression of diagonal coefficients to wrap. | |
const DiagonalVectorType & | diagonal () const |
Protected Attributes | |
const DiagonalVectorType::Nested | m_diagonal |
DiagonalWrapper< _DiagonalVectorType >::DiagonalWrapper | ( | const DiagonalVectorType & | diagonal | ) | [inline] |
Constructor from expression of diagonal coefficients to wrap.
Definition at line 240 of file DiagonalMatrix.h.
const DiagonalVectorType& DiagonalWrapper< _DiagonalVectorType >::diagonal | ( | ) | const [inline] |
Definition at line 243 of file DiagonalMatrix.h.
References DiagonalWrapper< _DiagonalVectorType >::m_diagonal.
const DiagonalVectorType::Nested DiagonalWrapper< _DiagonalVectorType >::m_diagonal [protected] |
Definition at line 246 of file DiagonalMatrix.h.
Referenced by DiagonalWrapper< _DiagonalVectorType >::diagonal().
Page generated by Doxygen 1.7.1 for MRPT 0.9.4 SVN: at Mon Jan 10 23:33:19 UTC 2011 |