MOAB
4.9.3pre
|
Expression of a diagonal matrix. More...
#include <DiagonalMatrix.h>
Public Types | |
typedef _DiagonalVectorType | DiagonalVectorType |
typedef DiagonalWrapper | Nested |
Public Member Functions | |
EIGEN_DEVICE_FUNC | DiagonalWrapper (DiagonalVectorType &a_diagonal) |
EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
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.
Definition at line 246 of file DiagonalMatrix.h.
typedef _DiagonalVectorType Eigen::DiagonalWrapper< _DiagonalVectorType >::DiagonalVectorType |
Reimplemented from Eigen::DiagonalBase< DiagonalWrapper< _DiagonalVectorType > >.
Definition at line 251 of file DiagonalMatrix.h.
typedef DiagonalWrapper Eigen::DiagonalWrapper< _DiagonalVectorType >::Nested |
Definition at line 252 of file DiagonalMatrix.h.
EIGEN_DEVICE_FUNC Eigen::DiagonalWrapper< _DiagonalVectorType >::DiagonalWrapper | ( | DiagonalVectorType & | a_diagonal | ) | [inline, explicit] |
Constructor from expression of diagonal coefficients to wrap.
Definition at line 257 of file DiagonalMatrix.h.
: m_diagonal(a_diagonal) {}
EIGEN_DEVICE_FUNC const DiagonalVectorType& Eigen::DiagonalWrapper< _DiagonalVectorType >::diagonal | ( | ) | const [inline] |
Reimplemented from Eigen::DiagonalBase< DiagonalWrapper< _DiagonalVectorType > >.
Definition at line 261 of file DiagonalMatrix.h.
{ return m_diagonal; }
DiagonalVectorType::Nested Eigen::DiagonalWrapper< _DiagonalVectorType >::m_diagonal [protected] |
Definition at line 264 of file DiagonalMatrix.h.