Preconditioned conjugate gradient from the zero iterate
Library · Source module
Preconditioned conjugate gradient from the zero iterate
The routine NLAlib.Krylov.CG.HSPCG.zeroStartRoutine reads the right-hand side and writes the iterate, the residual, the preconditioned residual and the direction: it fills the iterate with literal zeros and runs the solver NLAlib.Krylov.CG.HSPCG.solve on it. Its specification mentions only the dimensions, the right-hand side read and the blocks written.
Main definitions
* NLAlib.Krylov.CG.HSPCG.zeroStart: the tree. * NLAlib.Krylov.CG.HSPCG.zeroStartRoutine, NLAlib.Krylov.CG.HSPCG.zeroStartSpec: the routine and its specification.
Main results
* NLAlib.Krylov.CG.HSPCG.zeroStartRoutine_meets: the routine meets its specification.