Expression of a diagonal matrix.
More...
#include <DiagonalMatrix.h>
|
EIGEN_DEVICE_FUNC | DiagonalWrapper (DiagonalVectorType &a_diagonal) |
|
EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
|
EIGEN_DEVICE_FUNC const DiagonalWrapper< _DiagonalVectorType > & | derived () const |
|
EIGEN_DEVICE_FUNC DiagonalWrapper< _DiagonalVectorType > & | derived () |
|
EIGEN_DEVICE_FUNC DenseMatrixType | toDenseMatrix () const |
|
EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
|
EIGEN_DEVICE_FUNC DiagonalVectorType & | diagonal () |
|
EIGEN_DEVICE_FUNC Index | rows () const |
|
EIGEN_DEVICE_FUNC Index | cols () 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 const InverseReturnType | inverse () const |
|
EIGEN_DEVICE_FUNC const DiagonalWrapper< const EIGEN_CWISE_BINARY_RETURN_TYPE(DiagonalVectorType, typename OtherDerived::DiagonalVectorType, sum) > | operator+ (const DiagonalBase< OtherDerived > &other) const |
|
EIGEN_DEVICE_FUNC const DiagonalWrapper< const EIGEN_CWISE_BINARY_RETURN_TYPE(DiagonalVectorType, typename OtherDerived::DiagonalVectorType, difference) > | operator- (const DiagonalBase< OtherDerived > &other) const |
|
EIGEN_DEVICE_FUNC DiagonalWrapper< _DiagonalVectorType > & | derived () |
|
EIGEN_DEVICE_FUNC const DiagonalWrapper< _DiagonalVectorType > & | derived () const |
|
EIGEN_DEVICE_FUNC DiagonalWrapper< _DiagonalVectorType > & | const_cast_derived () const |
|
EIGEN_DEVICE_FUNC const DiagonalWrapper< _DiagonalVectorType > & | const_derived () const |
|
EIGEN_DEVICE_FUNC Index | rows () const |
|
EIGEN_DEVICE_FUNC Index | cols () const |
|
EIGEN_DEVICE_FUNC Index | size () const |
|
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
|
EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
|
EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
|
EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
|
EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
|
|
DiagonalVectorType::Nested | m_diagonal |
|
template<typename _DiagonalVectorType>
class Eigen::DiagonalWrapper< _DiagonalVectorType >
Expression of a diagonal matrix.
- Parameters
-
_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.
- See also
- class DiagonalMatrix, class DiagonalBase, MatrixBase::asDiagonal()
◆ DiagonalWrapper()
template<typename _DiagonalVectorType >
Constructor from expression of diagonal coefficients to wrap.
◆ diagonal()
template<typename _DiagonalVectorType >
- Returns
- a const reference to the wrapped expression of diagonal coefficients.
The documentation for this class was generated from the following file: