Expression of a diagonal matrix. More...
#include <DiagonalMatrix.h>
Public Member Functions | |
EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
EIGEN_DEVICE_FUNC | DiagonalWrapper (DiagonalVectorType &a_diagonal) |
Public Member Functions inherited from Eigen::DiagonalBase< DiagonalWrapper< _DiagonalVectorType > > | |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC const DiagonalWrapper< _DiagonalVectorType > & | derived () const |
EIGEN_DEVICE_FUNC DiagonalWrapper< _DiagonalVectorType > & | derived () |
EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
EIGEN_DEVICE_FUNC DiagonalVectorType & | diagonal () |
EIGEN_DEVICE_FUNC const InverseReturnType | inverse () const |
EIGEN_DEVICE_FUNC const Product< DiagonalWrapper< _DiagonalVectorType >, MatrixDerived, LazyProduct > | operator* (const MatrixBase< MatrixDerived > &matrix) const |
EIGEN_DEVICE_FUNC const DiagonalWrapper< const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(DiagonalVectorType, Scalar, product) > | operator* (const Scalar &scalar) const |
EIGEN_DEVICE_FUNC Index | rows () const |
EIGEN_DEVICE_FUNC DenseMatrixType | toDenseMatrix () const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC Derived & | const_cast_derived () const |
EIGEN_DEVICE_FUNC const Derived & | const_derived () const |
EIGEN_DEVICE_FUNC Derived & | derived () |
EIGEN_DEVICE_FUNC const Derived & | derived () const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
EIGEN_DEVICE_FUNC Index | rows () const |
EIGEN_DEVICE_FUNC Index | size () const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC 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 245 of file DiagonalMatrix.h.
typedef _DiagonalVectorType Eigen::DiagonalWrapper< _DiagonalVectorType >::DiagonalVectorType |
Definition at line 250 of file DiagonalMatrix.h.
typedef DiagonalWrapper Eigen::DiagonalWrapper< _DiagonalVectorType >::Nested |
Definition at line 251 of file DiagonalMatrix.h.
|
inlineexplicit |
Constructor from expression of diagonal coefficients to wrap.
Definition at line 256 of file DiagonalMatrix.h.
|
inline |
Definition at line 260 of file DiagonalMatrix.h.
|
protected |
Definition at line 263 of file DiagonalMatrix.h.