NLA-lib Explorer

Preconditioned Hestenes–Stiefel programs

Library · Source module

Preconditioned Hestenes–Stiefel programs

The system and the applied inverse preconditioner are two separately counted linear operators. Four state blocks store the iterate, residual, preconditioned residual and search direction. Initialization and each round free their own scratch before returning.

Main results

* NLAlib.Krylov.CG.HSPCG.step, NLAlib.Krylov.CG.HSPCG.initializeState, and NLAlib.Krylov.CG.HSPCG.solve are uniform first-order trees. * NLAlib.Krylov.CG.HSPCG.staticCost_step and NLAlib.Krylov.CG.HSPCG.staticCost_solve expose the evaluator's operation counts.

Declarations