![]() |
Prusa Slicer 2.6.0
|
Jacobi preconditioner for LeastSquaresConjugateGradient. More...
#include <src/eigen/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h>
Inheritance diagram for Eigen::LeastSquareDiagonalPreconditioner< _Scalar >:
Collaboration diagram for Eigen::LeastSquareDiagonalPreconditioner< _Scalar >:Public Types | |
| enum | { ColsAtCompileTime = Dynamic , MaxColsAtCompileTime = Dynamic } |
| typedef Vector::StorageIndex | StorageIndex |
Public Member Functions | |
| LeastSquareDiagonalPreconditioner () | |
| template<typename MatType > | |
| LeastSquareDiagonalPreconditioner (const MatType &mat) | |
| template<typename MatType > | |
| LeastSquareDiagonalPreconditioner & | analyzePattern (const MatType &) |
| template<typename MatType > | |
| LeastSquareDiagonalPreconditioner & | factorize (const MatType &mat) |
| template<typename MatType > | |
| LeastSquareDiagonalPreconditioner & | compute (const MatType &mat) |
| ComputationInfo | info () |
| Index | rows () const |
| Index | cols () const |
| 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 |
Protected Attributes | |
| bool | m_isInitialized |
Private Types | |
| typedef _Scalar | Scalar |
| typedef NumTraits< Scalar >::Real | RealScalar |
| typedef DiagonalPreconditioner< _Scalar > | Base |
| typedef Matrix< Scalar, Dynamic, 1 > | Vector |
Private Attributes | |
| Vector | m_invdiag |
Jacobi preconditioner for LeastSquaresConjugateGradient.
This class allows to approximately solve for A' A x = A' b problems assuming A' 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
The diagonal entries are pre-inverted and stored into a dense vector.
|
private |
|
private |
|
private |
|
inherited |
|
privateinherited |
|
inherited |
|
inline |
|
inlineexplicit |
References Eigen::LeastSquareDiagonalPreconditioner< _Scalar >::compute().
Here is the call graph for this function:
|
inlineinherited |
References Eigen::DiagonalPreconditioner< _Scalar >::m_invdiag.
|
inline |
|
inlineinherited |
|
inline |
References Eigen::LeastSquareDiagonalPreconditioner< _Scalar >::factorize().
Referenced by Eigen::LeastSquareDiagonalPreconditioner< _Scalar >::LeastSquareDiagonalPreconditioner().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Eigen::LeastSquareDiagonalPreconditioner< _Scalar >::m_invdiag, Eigen::DiagonalPreconditioner< _Scalar >::m_isInitialized, Eigen::PlainObjectBase< Derived >::resize(), and Eigen::PlainObjectBase< Derived >::setZero().
Referenced by Eigen::LeastSquareDiagonalPreconditioner< _Scalar >::compute().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Eigen::Success.
|
inlineinherited |
|
inlineinherited |
References eigen_assert, Eigen::DiagonalPreconditioner< _Scalar >::m_invdiag, and Eigen::DiagonalPreconditioner< _Scalar >::m_isInitialized.
|
private |
|
protectedinherited |