![]() |
Eigen
5.0.1-dev+60122df6
|
#include <Eigen/src/Core/DiagonalMatrix.h>
Base class for diagonal matrices and expressions.
This is the base class that is inherited by diagonal matrix and related expression types, which internally use a vector for storing the diagonal entries. Diagonal types always represent square matrices.
| Derived | is the derived type, a DiagonalMatrix or DiagonalWrapper. |
Inheritance diagram for Eigen::DiagonalBase< Derived >:Public Member Functions | |
| Scalar | coeff (Index row, Index col) const |
| constexpr Index | cols () const |
| Derived & | derived () |
| const Derived & | derived () const |
| DiagonalVectorType & | diagonal () |
| const DiagonalVectorType & | diagonal () const |
| const DiagonalInverseReturnType | inverse () const |
| template<typename OtherDerived> | |
| const DiagonalProductReturnType< OtherDerived > | operator* (const DiagonalBase< OtherDerived > &other) const |
| template<typename MatrixDerived> | |
| const Product< Derived, MatrixDerived, LazyProduct > | operator* (const MatrixBase< MatrixDerived > &matrix) const |
| const DiagonalScaleReturnType | operator* (const Scalar &scalar) const |
| template<typename OtherDerived> | |
| const DiagonalSumReturnType< OtherDerived > | operator+ (const DiagonalBase< OtherDerived > &other) const |
| template<typename OtherDerived> | |
| const DiagonalDifferenceReturnType< OtherDerived > | operator- (const DiagonalBase< OtherDerived > &other) const |
| constexpr Index | rows () const |
| DenseMatrixType | toDenseMatrix () const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
| constexpr Index | cols () const noexcept |
| constexpr Derived & | derived () |
| constexpr const Derived & | derived () const |
| constexpr Index | rows () const noexcept |
| constexpr Index | size () const noexcept |
Additional Inherited Members | |
Public Types inherited from Eigen::EigenBase< Derived > | |
| typedef Eigen::Index | Index |
| The interface type of indices. | |
|
inline |
*this was a dense matrix.
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
*this. Computed as the coefficient-wise inverse of the diagonal.
|
inline |
*this by the diagonal matrix other
|
inline |
*this by the dense matrix, matrix
|
inline |
*this by the scalar scalar
|
inline |
*this and the diagonal matrix other
|
inline |
*this and the diagonal matrix other
|
inlineconstexpr |
|
inline |
Constructs a dense matrix from *this. Note, this directly returns a dense matrix type, not an expression.