![]() |
Prusa Slicer 2.6.0
|
Expression of a selfadjoint matrix from a triangular part of a dense matrix. More...
#include <src/eigen/Eigen/src/Core/SelfAdjointView.h>
Inheritance diagram for Eigen::SelfAdjointView< _MatrixType, UpLo >:
Collaboration diagram for Eigen::SelfAdjointView< _MatrixType, UpLo >:Public Types | |
| enum | { Mode = internal::traits<SelfAdjointView>::Mode , Flags = internal::traits<SelfAdjointView>::Flags , TransposeMode = ((Mode & Upper) ? Lower : 0) | ((Mode & Lower) ? Upper : 0) } |
| typedef _MatrixType | MatrixType |
| typedef TriangularBase< SelfAdjointView > | Base |
| typedef internal::traits< SelfAdjointView >::MatrixTypeNested | MatrixTypeNested |
| typedef internal::traits< SelfAdjointView >::MatrixTypeNestedCleaned | MatrixTypeNestedCleaned |
| typedef MatrixTypeNestedCleaned | NestedExpression |
| typedef internal::traits< SelfAdjointView >::Scalar | Scalar |
| The type of coefficients in this matrix. | |
| typedef MatrixType::StorageIndex | StorageIndex |
| typedef internal::remove_all< typenameMatrixType::ConjugateReturnType >::type | MatrixConjugateReturnType |
| typedef MatrixType::PlainObject | PlainObject |
| typedef SelfAdjointView< const MatrixConjugateReturnType, UpLo > | ConjugateReturnType |
| typedef SelfAdjointView< const typename MatrixType::AdjointReturnType, TransposeMode > | AdjointReturnType |
| typedef SelfAdjointView< typename MatrixType::TransposeReturnType, TransposeMode > | TransposeReturnType |
| typedef SelfAdjointView< const typename MatrixType::ConstTransposeReturnType, TransposeMode > | ConstTransposeReturnType |
| typedef NumTraits< Scalar >::Real | RealScalar |
| typedef Matrix< RealScalar, internal::traits< MatrixType >::ColsAtCompileTime, 1 > | EigenvaluesReturnType |
| enum | |
| typedef internal::traits< SelfAdjointView< _MatrixType, UpLo > >::StorageKind | StorageKind |
| typedef internal::traits< SelfAdjointView< _MatrixType, UpLo > >::FullMatrixType | DenseMatrixType |
| typedef DenseMatrixType | DenseType |
| typedef SelfAdjointView< _MatrixType, UpLo > const & | Nested |
| typedef Eigen::Index | Index |
| The interface type of indices. | |
Public Member Functions | |
| EIGEN_DEVICE_FUNC | SelfAdjointView (MatrixType &matrix) |
| EIGEN_DEVICE_FUNC Index | rows () const |
| EIGEN_DEVICE_FUNC Index | cols () const |
| EIGEN_DEVICE_FUNC Index | outerStride () const |
| EIGEN_DEVICE_FUNC Index | innerStride () const |
| EIGEN_DEVICE_FUNC Scalar | coeff (Index row, Index col) const |
| EIGEN_DEVICE_FUNC Scalar & | coeffRef (Index row, Index col) |
| EIGEN_DEVICE_FUNC const MatrixTypeNestedCleaned & | _expression () const |
| EIGEN_DEVICE_FUNC const MatrixTypeNestedCleaned & | nestedExpression () const |
| EIGEN_DEVICE_FUNC MatrixTypeNestedCleaned & | nestedExpression () |
| template<typename OtherDerived > | |
| EIGEN_DEVICE_FUNC const Product< SelfAdjointView, OtherDerived > | operator* (const MatrixBase< OtherDerived > &rhs) const |
| template<typename DerivedU , typename DerivedV > | |
| EIGEN_DEVICE_FUNC SelfAdjointView & | rankUpdate (const MatrixBase< DerivedU > &u, const MatrixBase< DerivedV > &v, const Scalar &alpha=Scalar(1)) |
| template<typename DerivedU > | |
| EIGEN_DEVICE_FUNC SelfAdjointView & | rankUpdate (const MatrixBase< DerivedU > &u, const Scalar &alpha=Scalar(1)) |
| template<unsigned int TriMode> | |
| EIGEN_DEVICE_FUNC internal::conditional<(TriMode &(Upper|Lower))==(UpLo &(Upper|Lower)), TriangularView< MatrixType, TriMode >, TriangularView< typenameMatrixType::AdjointReturnType, TriMode > >::type | triangularView () const |
| EIGEN_DEVICE_FUNC const ConjugateReturnType | conjugate () const |
| EIGEN_DEVICE_FUNC const AdjointReturnType | adjoint () const |
| EIGEN_DEVICE_FUNC TransposeReturnType | transpose () |
| EIGEN_DEVICE_FUNC const ConstTransposeReturnType | transpose () const |
| EIGEN_DEVICE_FUNC MatrixType::ConstDiagonalReturnType | diagonal () const |
| const LLT< PlainObject, UpLo > | llt () const |
| const LDLT< PlainObject, UpLo > | ldlt () const |
| EIGEN_DEVICE_FUNC EigenvaluesReturnType | eigenvalues () const |
| Computes the eigenvalues of a matrix. | |
| EIGEN_DEVICE_FUNC RealScalar | operatorNorm () const |
| Computes the L2 operator norm. | |
| template<typename DerivedU > | |
| SelfAdjointView< MatrixType, UpLo > & | rankUpdate (const MatrixBase< DerivedU > &u, const Scalar &alpha) |
| template<typename DerivedU , typename DerivedV > | |
| SelfAdjointView< MatrixType, UpLo > & | rankUpdate (const MatrixBase< DerivedU > &u, const MatrixBase< DerivedV > &v, const Scalar &alpha) |
| void | resize (Index rows, Index cols) |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void | copyCoeff (Index row, Index col, Other &other) |
| EIGEN_DEVICE_FUNC Scalar | operator() (Index row, Index col) const |
| EIGEN_DEVICE_FUNC Scalar & | operator() (Index row, Index col) |
| EIGEN_DEVICE_FUNC const SelfAdjointView< _MatrixType, UpLo > & | derived () const |
| EIGEN_DEVICE_FUNC SelfAdjointView< _MatrixType, UpLo > & | derived () |
| EIGEN_DEVICE_FUNC void | evalTo (MatrixBase< DenseDerived > &other) const |
| void | evalTo (MatrixBase< DenseDerived > &other) const |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
| EIGEN_DEVICE_FUNC void | evalToLazy (MatrixBase< DenseDerived > &other) const |
| void | evalToLazy (MatrixBase< DenseDerived > &other) const |
| EIGEN_DEVICE_FUNC DenseMatrixType | toDenseMatrix () 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 | 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 Member Functions | |
| void | check_coordinates (Index row, Index col) const |
| void | check_coordinates_internal (Index, Index) const |
Protected Attributes | |
| MatrixTypeNested | m_matrix |
Friends | |
| template<typename OtherDerived > | |
| EIGEN_DEVICE_FUNC const Product< OtherDerived, SelfAdjointView > | operator* (const MatrixBase< OtherDerived > &lhs, const SelfAdjointView &rhs) |
| EIGEN_DEVICE_FUNC const SelfAdjointView< const EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(Scalar, MatrixType, product), UpLo > | operator* (const Scalar &s, const SelfAdjointView &mat) |
Expression of a selfadjoint matrix from a triangular part of a dense matrix.
| MatrixType | the type of the dense matrix storing the coefficients |
| TriangularPart | can be either Lower or Upper |
This class is an expression of a sefladjoint matrix from a triangular part of a matrix with given dense storage of the coefficients. It is the return type of MatrixBase::selfadjointView() and most of the time this is the only way that it is used.
| typedef SelfAdjointView<const typename MatrixType::AdjointReturnType,TransposeMode> Eigen::SelfAdjointView< _MatrixType, UpLo >::AdjointReturnType |
| typedef TriangularBase<SelfAdjointView> Eigen::SelfAdjointView< _MatrixType, UpLo >::Base |
| typedef SelfAdjointView<const MatrixConjugateReturnType,UpLo> Eigen::SelfAdjointView< _MatrixType, UpLo >::ConjugateReturnType |
| typedef SelfAdjointView<const typename MatrixType::ConstTransposeReturnType,TransposeMode> Eigen::SelfAdjointView< _MatrixType, UpLo >::ConstTransposeReturnType |
|
inherited |
|
inherited |
| typedef Matrix<RealScalar, internal::traits<MatrixType>::ColsAtCompileTime, 1> Eigen::SelfAdjointView< _MatrixType, UpLo >::EigenvaluesReturnType |
Return type of eigenvalues()
|
inherited |
The interface type of indices.
To change this, #define the preprocessor symbol EIGEN_DEFAULT_DENSE_INDEX_TYPE.
| typedef internal::remove_all<typenameMatrixType::ConjugateReturnType>::type Eigen::SelfAdjointView< _MatrixType, UpLo >::MatrixConjugateReturnType |
| typedef _MatrixType Eigen::SelfAdjointView< _MatrixType, UpLo >::MatrixType |
| typedef internal::traits<SelfAdjointView>::MatrixTypeNested Eigen::SelfAdjointView< _MatrixType, UpLo >::MatrixTypeNested |
| typedef internal::traits<SelfAdjointView>::MatrixTypeNestedCleaned Eigen::SelfAdjointView< _MatrixType, UpLo >::MatrixTypeNestedCleaned |
|
inherited |
| typedef MatrixTypeNestedCleaned Eigen::SelfAdjointView< _MatrixType, UpLo >::NestedExpression |
| typedef MatrixType::PlainObject Eigen::SelfAdjointView< _MatrixType, UpLo >::PlainObject |
| typedef NumTraits<Scalar>::Real Eigen::SelfAdjointView< _MatrixType, UpLo >::RealScalar |
Real part of Scalar
| typedef internal::traits<SelfAdjointView>::Scalar Eigen::SelfAdjointView< _MatrixType, UpLo >::Scalar |
The type of coefficients in this matrix.
| typedef MatrixType::StorageIndex Eigen::SelfAdjointView< _MatrixType, UpLo >::StorageIndex |
|
inherited |
| typedef SelfAdjointView<typename MatrixType::TransposeReturnType,TransposeMode> Eigen::SelfAdjointView< _MatrixType, UpLo >::TransposeReturnType |
| anonymous enum |
|
inherited |
|
inlineexplicit |
References EIGEN_STATIC_ASSERT, Eigen::Lower, and Eigen::Upper.
|
inline |
|
inlineinherited |
|
inline |
References Eigen::SelfAdjointView< _MatrixType, UpLo >::m_matrix.
|
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:
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
References Eigen::TriangularBase< Derived >::check_coordinates_internal(), col(), Eigen::SelfAdjointView< _MatrixType, UpLo >::m_matrix, and row().
Here is the call graph for this function:
|
inline |
References Eigen::TriangularBase< Derived >::check_coordinates_internal(), col(), EIGEN_STATIC_ASSERT_LVALUE, Eigen::SelfAdjointView< _MatrixType, UpLo >::m_matrix, and row().
Here is the call graph for this function:
|
inline |
|
inline |
References Eigen::SelfAdjointView< _MatrixType, UpLo >::m_matrix.
|
inlineinherited |
Referenced by Eigen::TriangularViewImpl< _MatrixType, _Mode, Dense >::swap().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
*this This method simply returns the diagonal of the nested expression, thus by-passing the SelfAdjointView decorator.
References Eigen::SelfAdjointView< _MatrixType, UpLo >::m_matrix.
|
inline |
Computes the eigenvalues of a matrix.
\eigenvalues_module This function computes the eigenvalues with the help of the SelfAdjointEigenSolver class. The eigenvalues are repeated according to their algebraic multiplicity, so there are as many eigenvalues as rows in the matrix.
Example:
Output:
References Eigen::SelfAdjointEigenSolver< _MatrixType >::eigenvalues().
Here is the call graph for this function:
|
inlineinherited |
Referenced by Eigen::EigenBase< Derived >::subTo().
Here is the caller graph for this function:
|
inherited |
|
inherited |
Assigns a triangular or selfadjoint matrix to a dense matrix. If the matrix is triangular, the opposite part is set to zero.
|
inherited |
|
inherited |
Assigns a triangular or selfadjoint matrix to a dense matrix. If the matrix is triangular, the opposite part is set to zero.
|
inline |
|
inline |
\cholesky_module
*this
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
Efficient triangular matrix times vector/matrix product
|
inline |
Computes the L2 operator norm.
\eigenvalues_module This function computes the L2 operator norm of a self-adjoint matrix. For a self-adjoint matrix, the operator norm is the largest eigenvalue.
The current implementation uses the eigenvalues of the matrix, as computed by eigenvalues(), to compute the operator norm of the matrix.
Example:
Output:
|
inline |
| SelfAdjointView< MatrixType, UpLo > & Eigen::SelfAdjointView< _MatrixType, UpLo >::rankUpdate | ( | const MatrixBase< DerivedU > & | u, |
| const MatrixBase< DerivedV > & | v, | ||
| const Scalar & | alpha | ||
| ) |
References Eigen::Lower, Eigen::RowMajorBit, and Eigen::Upper.
| EIGEN_DEVICE_FUNC SelfAdjointView & Eigen::SelfAdjointView< _MatrixType, UpLo >::rankUpdate | ( | const MatrixBase< DerivedU > & | u, |
| const MatrixBase< DerivedV > & | v, | ||
| const Scalar & | alpha = Scalar(1) |
||
| ) |
Perform a symmetric rank 2 update of the selfadjoint matrix *this:
*this The vectors u and v must be column vectors, however they can be a adjoint expression without any overhead. Only the meaningful triangular part of the matrix is updated, the rest is left unchanged.
| SelfAdjointView< MatrixType, UpLo > & Eigen::SelfAdjointView< _MatrixType, UpLo >::rankUpdate | ( | const MatrixBase< DerivedU > & | u, |
| const Scalar & | alpha | ||
| ) |
| EIGEN_DEVICE_FUNC SelfAdjointView & Eigen::SelfAdjointView< _MatrixType, UpLo >::rankUpdate | ( | const MatrixBase< DerivedU > & | u, |
| const Scalar & | alpha = Scalar(1) |
||
| ) |
Perform a symmetric rank K update of the selfadjoint matrix *this:
*this Note that to perform
|
inlineinherited |
|
inline |
|
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 |
|
inline |
References EIGEN_STATIC_ASSERT_LVALUE, and Eigen::SelfAdjointView< _MatrixType, UpLo >::m_matrix.
|
inline |
References Eigen::SelfAdjointView< _MatrixType, UpLo >::m_matrix.
|
inline |
The parameter TriMode can have the following values: Upper, StrictlyUpper, UnitUpper, Lower, StrictlyLower, UnitLower.
If TriMode references the same triangular part than *this, then this method simply return a TriangularView of the nested expression, otherwise, the nested expression is first transposed, thus returning a TriangularView<Transpose<MatrixType>> object.
References Eigen::Lower, Eigen::SelfAdjointView< _MatrixType, UpLo >::m_matrix, and Eigen::Upper.
|
friend |
Efficient vector/matrix times triangular matrix product
|
friend |
|
protected |
Referenced by Eigen::SelfAdjointView< _MatrixType, UpLo >::_expression(), Eigen::SelfAdjointView< _MatrixType, UpLo >::adjoint(), Eigen::SelfAdjointView< _MatrixType, UpLo >::coeff(), Eigen::SelfAdjointView< _MatrixType, UpLo >::coeffRef(), Eigen::SelfAdjointView< _MatrixType, UpLo >::cols(), Eigen::SelfAdjointView< _MatrixType, UpLo >::conjugate(), Eigen::SelfAdjointView< _MatrixType, UpLo >::diagonal(), Eigen::SelfAdjointView< _MatrixType, UpLo >::innerStride(), Eigen::SelfAdjointView< _MatrixType, UpLo >::nestedExpression(), Eigen::SelfAdjointView< _MatrixType, UpLo >::nestedExpression(), Eigen::SelfAdjointView< _MatrixType, UpLo >::outerStride(), Eigen::SelfAdjointView< _MatrixType, UpLo >::rows(), Eigen::SelfAdjointView< _MatrixType, UpLo >::transpose(), Eigen::SelfAdjointView< _MatrixType, UpLo >::transpose(), and Eigen::SelfAdjointView< _MatrixType, UpLo >::triangularView().