Eigen  3.3.90 (mercurial changeset d63bd3cb7378)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Eigen::LeastSquareDiagonalPreconditioner< _Scalar > Class Template Reference

Detailed Description

template<typename _Scalar>
class Eigen::LeastSquareDiagonalPreconditioner< _Scalar >

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:

(A.adjoint() * A).diagonal().asDiagonal() * x = b
Template Parameters
_Scalarthe type of the scalar.

This class follows the sparse solver concept .

The diagonal entries are pre-inverted and stored into a dense vector.

See Also
class LeastSquaresConjugateGradient, class DiagonalPreconditioner
+ Inheritance diagram for Eigen::LeastSquareDiagonalPreconditioner< _Scalar >:

The documentation for this class was generated from the following file: