NLA-lib Explorer

Exact fixed-horizon Hestenes–Stiefel conjugate gradient

Library · Source module

Exact fixed-horizon Hestenes–Stiefel conjugate gradient

The complete program initializes its residual and direction, then invokes the certified round loop. For a positive-definite matrix and a horizon at most the initial Krylov grade, the output is the existing mathematical CG iterate. The horizon condition ensures that every executed scalar division has a nonzero divisor, including when the final round reaches the exact solution.

Main results

* NLAlib.Krylov.CG.HSCG.solveRoutine_meets certifies the complete program. * NLAlib.Krylov.CG.HSCG.runs_solve states the CG iterate and evaluated operation budget.

Declarations