![]() |
Eigen
3.4.90 (git rev 5a9f66fb35d03a4da9ef8976e67a61b30aa16dcf)
|
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 |
| EIGEN_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 |
| EIGEN_CONSTEXPR Index | rows () const |
| DenseMatrixType | toDenseMatrix () const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
| EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
| Derived & | derived () |
| const Derived & | derived () const |
| EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
| EIGEN_CONSTEXPR Index | size () const EIGEN_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.
|
inline |
|
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
|
inline |
|
inline |
Constructs a dense matrix from *this. Note, this directly returns a dense matrix type, not an expression.