Enumeration Case

SparsePreconditionerDiagonal

A diagonal (Jacobi) preconditioner.

Declaration

SparsePreconditionerDiagonal

Discussion

Applies y = D⁻¹x, where D is the matrix containing only the diagonal elements of A. It provides a simple preconditioner for CG and GMRES methods.