![]() |
Prusa Slicer 2.6.0
|
A preconditioner based on the digonal entries. More...
#include <src/eigen/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h>
Inheritance diagram for Eigen::DiagonalPreconditioner< _Scalar >:
Collaboration diagram for Eigen::DiagonalPreconditioner< _Scalar >:Public Types | |
| enum | { ColsAtCompileTime = Dynamic , MaxColsAtCompileTime = Dynamic } |
| typedef Vector::StorageIndex | StorageIndex |
Public Member Functions | |
| DiagonalPreconditioner () | |
| template<typename MatType > | |
| DiagonalPreconditioner (const MatType &mat) | |
| Index | rows () const |
| Index | cols () const |
| template<typename MatType > | |
| DiagonalPreconditioner & | analyzePattern (const MatType &) |
| template<typename MatType > | |
| DiagonalPreconditioner & | factorize (const MatType &mat) |
| template<typename MatType > | |
| DiagonalPreconditioner & | compute (const MatType &mat) |
| template<typename Rhs , typename Dest > | |
| void | _solve_impl (const Rhs &b, Dest &x) const |
| template<typename Rhs > | |
| const Solve< DiagonalPreconditioner, Rhs > | solve (const MatrixBase< Rhs > &b) const |
| ComputationInfo | info () |
Protected Attributes | |
| Vector | m_invdiag |
| bool | m_isInitialized |
Private Types | |
| typedef _Scalar | Scalar |
| typedef Matrix< Scalar, Dynamic, 1 > | Vector |
A preconditioner based on the digonal entries.
This class allows to approximately solve for A.x = b problems assuming A is a diagonal matrix. In other words, this preconditioner neglects all off diagonal entries and, in Eigen's language, solves for:
| _Scalar | the type of the scalar. |
\implsparsesolverconcept
This preconditioner is suitable for both selfadjoint and general problems. The diagonal entries are pre-inverted and stored into a dense vector.
|
private |
| typedef Vector::StorageIndex Eigen::DiagonalPreconditioner< _Scalar >::StorageIndex |
|
private |
| anonymous enum |
|
inline |
|
inlineexplicit |
References Eigen::DiagonalPreconditioner< _Scalar >::compute().
Here is the call graph for this function:
|
inline |
References Eigen::DiagonalPreconditioner< _Scalar >::m_invdiag.
|
inline |
|
inline |
|
inline |
References Eigen::DiagonalPreconditioner< _Scalar >::factorize().
Referenced by Eigen::DiagonalPreconditioner< _Scalar >::DiagonalPreconditioner().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Eigen::DiagonalPreconditioner< _Scalar >::m_invdiag, Eigen::DiagonalPreconditioner< _Scalar >::m_isInitialized, and Eigen::PlainObjectBase< Derived >::resize().
Referenced by Eigen::DiagonalPreconditioner< _Scalar >::compute().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Eigen::Success.
|
inline |
|
inline |
References eigen_assert, Eigen::DiagonalPreconditioner< _Scalar >::m_invdiag, and Eigen::DiagonalPreconditioner< _Scalar >::m_isInitialized.
|
protected |
|
protected |