Expression of a diagonal matrix. More...
#include <DiagonalMatrix.h>
Public Member Functions | |
const DiagonalVectorType & | diagonal () const |
DiagonalWrapper (DiagonalVectorType &a_diagonal) | |
Public Member Functions inherited from Eigen::DiagonalBase< DiagonalWrapper< _DiagonalVectorType > > | |
void | addTo (MatrixBase< DenseDerived > &other) const |
Index | cols () const |
const DiagonalWrapper< _DiagonalVectorType > & | derived () const |
DiagonalWrapper< _DiagonalVectorType > & | derived () |
const DiagonalVectorType & | diagonal () const |
DiagonalVectorType & | diagonal () |
void | evalTo (MatrixBase< DenseDerived > &other) const |
const DiagonalWrapper< const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const DiagonalVectorType > > | inverse () const |
const DiagonalProduct< MatrixDerived, DiagonalWrapper< _DiagonalVectorType >, OnTheLeft > | operator* (const MatrixBase< MatrixDerived > &matrix) const |
const DiagonalWrapper< const CwiseUnaryOp< internal::scalar_multiple_op< Scalar >, const DiagonalVectorType > > | operator* (const Scalar &scalar) const |
Index | rows () const |
void | subTo (MatrixBase< DenseDerived > &other) const |
DenseMatrixType | toDenseMatrix () const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
template<typename Dest > | |
void | addTo (Dest &dst) const |
template<typename Dest > | |
void | applyThisOnTheLeft (Dest &dst) const |
template<typename Dest > | |
void | applyThisOnTheRight (Dest &dst) const |
Index | cols () const |
Derived & | const_cast_derived () const |
const Derived & | const_derived () const |
Derived & | derived () |
const Derived & | derived () const |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
Index | rows () const |
Index | size () const |
template<typename Dest > | |
void | subTo (Dest &dst) 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 248 of file DiagonalMatrix.h.
typedef _DiagonalVectorType Eigen::DiagonalWrapper< _DiagonalVectorType >::DiagonalVectorType |
Definition at line 253 of file DiagonalMatrix.h.
typedef DiagonalWrapper Eigen::DiagonalWrapper< _DiagonalVectorType >::Nested |
Definition at line 254 of file DiagonalMatrix.h.
|
inline |
Constructor from expression of diagonal coefficients to wrap.
Definition at line 258 of file DiagonalMatrix.h.
|
inline |
Definition at line 261 of file DiagonalMatrix.h.
|
protected |
Definition at line 264 of file DiagonalMatrix.h.