Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Protected Attributes
Eigen::DiagonalWrapper Class Reference

Detailed Description

Expression of a diagonal matrix.

Parameters:
_DiagonalVectorTypethe 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()
Inheritance diagram for Eigen::DiagonalWrapper:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

Eigen::DiagonalWrapper::DiagonalWrapper ( const DiagonalVectorType &  diagonal) [inline]

Constructor from expression of diagonal coefficients to wrap.

Definition at line 255 of file Core.


Member Function Documentation

const DiagonalVectorType& Eigen::DiagonalWrapper::diagonal ( ) const [inline]
Returns:
a const reference to the wrapped expression of diagonal coefficients.

Definition at line 258 of file Core.


Member Data Documentation

const DiagonalVectorType::Nested Eigen::DiagonalWrapper::m_diagonal [protected]

Definition at line 261 of file Core.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011