Eigen  3.4.90 (git rev 67eeba6e720c5745abc77ae6c92ce0a44aa7b7ae)
Eigen::DiagonalPreconditioner< Scalar_ > Class Template Reference

Detailed Description

template<typename Scalar_>
class Eigen::DiagonalPreconditioner< Scalar_ >

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:

A.diagonal().asDiagonal() . x = b
Template Parameters
Scalar_the type of the scalar.

This class follows the sparse solver concept .

This preconditioner is suitable for both selfadjoint and general problems. The diagonal entries are pre-inverted and stored into a dense vector.

Note
A variant that has yet to be implemented would attempt to preserve the norm of each column.
See also
class LeastSquareDiagonalPreconditioner, class ConjugateGradient
+ Inheritance diagram for Eigen::DiagonalPreconditioner< Scalar_ >:

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