![]() |
Prusa Slicer 2.6.0
|
Represents a diagonal matrix with its storage. More...
#include <src/eigen/Eigen/src/Core/DiagonalMatrix.h>
Inheritance diagram for Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >:
Collaboration diagram for Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >:Public Types | |
| typedef internal::traits< DiagonalMatrix >::DiagonalVectorType | DiagonalVectorType |
| typedef const DiagonalMatrix & | Nested |
| typedef _Scalar | Scalar |
| typedef internal::traits< DiagonalMatrix >::StorageKind | StorageKind |
| typedef internal::traits< DiagonalMatrix >::StorageIndex | StorageIndex |
| enum | |
| typedef DiagonalVectorType::RealScalar | RealScalar |
| typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType |
| typedef DenseMatrixType | DenseType |
| typedef DiagonalMatrix< Scalar, DiagonalVectorType::SizeAtCompileTime, DiagonalVectorType::MaxSizeAtCompileTime > | PlainObject |
| typedef DiagonalWrapper< const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const DiagonalVectorType > > | InverseReturnType |
| typedef Eigen::Index | Index |
| The interface type of indices. | |
Public Member Functions | |
| EIGEN_DEVICE_FUNC const DiagonalVectorType & | diagonal () const |
| EIGEN_DEVICE_FUNC DiagonalVectorType & | diagonal () |
| EIGEN_DEVICE_FUNC | DiagonalMatrix () |
| EIGEN_DEVICE_FUNC | DiagonalMatrix (Index dim) |
| EIGEN_DEVICE_FUNC | DiagonalMatrix (const Scalar &x, const Scalar &y) |
| EIGEN_DEVICE_FUNC | DiagonalMatrix (const Scalar &x, const Scalar &y, const Scalar &z) |
| template<typename OtherDerived > | |
| EIGEN_DEVICE_FUNC | DiagonalMatrix (const DiagonalBase< OtherDerived > &other) |
| DiagonalMatrix (const DiagonalMatrix &other) | |
| template<typename OtherDerived > | |
| EIGEN_DEVICE_FUNC | DiagonalMatrix (const MatrixBase< OtherDerived > &other) |
| template<typename OtherDerived > | |
| EIGEN_DEVICE_FUNC DiagonalMatrix & | operator= (const DiagonalBase< OtherDerived > &other) |
| EIGEN_DEVICE_FUNC DiagonalMatrix & | operator= (const DiagonalMatrix &other) |
| EIGEN_DEVICE_FUNC void | resize (Index size) |
| EIGEN_DEVICE_FUNC void | setZero () |
| EIGEN_DEVICE_FUNC void | setZero (Index size) |
| EIGEN_DEVICE_FUNC void | setIdentity () |
| EIGEN_DEVICE_FUNC void | setIdentity (Index size) |
| EIGEN_DEVICE_FUNC const DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () const |
| EIGEN_DEVICE_FUNC DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime > & | derived () |
| EIGEN_DEVICE_FUNC DenseMatrixType | toDenseMatrix () const |
| EIGEN_DEVICE_FUNC Index | rows () const |
| EIGEN_DEVICE_FUNC Index | cols () const |
| EIGEN_DEVICE_FUNC const Product< DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >, 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 Derived & | const_cast_derived () const |
| EIGEN_DEVICE_FUNC const Derived & | const_derived () const |
| EIGEN_DEVICE_FUNC Index | size () const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
Protected Attributes | |
| DiagonalVectorType | m_diagonal |
Represents a diagonal matrix with its storage.
| _Scalar | the type of coefficients |
| SizeAtCompileTime | the dimension of the matrix, or Dynamic |
| MaxSizeAtCompileTime | the dimension of the matrix, or Dynamic. This parameter is optional and defaults to SizeAtCompileTime. Most of the time, you do not need to specify it. |
|
inherited |
|
inherited |
| typedef internal::traits<DiagonalMatrix>::DiagonalVectorType Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::DiagonalVectorType |
|
inherited |
The interface type of indices.
To change this, #define the preprocessor symbol EIGEN_DEFAULT_DENSE_INDEX_TYPE.
|
inherited |
| typedef const DiagonalMatrix& Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::Nested |
|
inherited |
|
inherited |
| typedef _Scalar Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::Scalar |
| typedef internal::traits<DiagonalMatrix>::StorageIndex Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::StorageIndex |
| typedef internal::traits<DiagonalMatrix>::StorageKind Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::StorageKind |
|
inherited |
|
inline |
Default constructor without initialization
|
inlineexplicit |
Constructs a diagonal matrix with given dimension
|
inline |
2D constructor.
|
inline |
3D constructor.
|
inline |
Copy constructor.
|
inline |
copy constructor. prevent a default copy constructor from hiding the other templated constructor
|
inlineexplicit |
generic constructor from expression of the diagonal coefficients
|
inlineinherited |
|
inlineinherited |
References Eigen::EigenBase< Derived >::derived().
Here is the call graph for this function:
|
inlineinherited |
References Eigen::EigenBase< Derived >::derived().
Here is the call graph for this function:
|
inlineinherited |
|
inlineinherited |
Referenced by Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::swap().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
References Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal.
|
inline |
const version of diagonal().
References Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal.
Referenced by igl::biharmonic_coordinates(), and Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::operator=().
Here is the caller graph for this function:
|
inlineinherited |
Referenced by Eigen::EigenBase< Derived >::subTo().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Copy operator.
References Eigen::DiagonalBase< Derived >::diagonal(), and Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal.
Here is the call graph for this function:
|
inline |
This is a special case of the templated operator=. Its purpose is to prevent a default operator= from hiding the templated operator=.
References Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::diagonal(), and Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal.
Here is the call graph for this function:
|
inline |
Resizes to given size.
References Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal, and Eigen::EigenBase< Derived >::size().
Here is the call graph for this function:
|
inlineinherited |
|
inline |
Sets this matrix to be the identity matrix of the current size.
References Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal.
|
inline |
Sets this matrix to be the identity matrix of the given size.
References Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal, and Eigen::EigenBase< Derived >::size().
Here is the call graph for this function:
|
inline |
Sets all coefficients to zero.
References Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal.
|
inline |
Resizes and sets all coefficients to zero.
References Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::m_diagonal, and Eigen::EigenBase< Derived >::size().
Here is the call graph for this function:
|
inlineinherited |
References Eigen::EigenBase< Derived >::cols(), and Eigen::EigenBase< Derived >::rows().
Referenced by Eigen::PlainObjectBase< Derived >::_resize_to_match(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::resize(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::setIdentity(), and Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::setZero().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Eigen::EigenBase< Derived >::cols(), Eigen::EigenBase< Derived >::evalTo(), and Eigen::EigenBase< Derived >::rows().
Here is the call graph for this function:
|
inlineinherited |
|
protected |
Referenced by Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::diagonal(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::diagonal(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::operator=(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::operator=(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::resize(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::setIdentity(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::setIdentity(), Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::setZero(), and Eigen::DiagonalMatrix< _Scalar, SizeAtCompileTime, MaxSizeAtCompileTime >::setZero().