A capped CG solver with full residual reorthogonalization
Library · Source module
A capped CG solver with full residual reorthogonalization
The solver keeps the initialized residual history in scoped storage. Before each active round it saves the current residual, sweeps the new residual against that history, and refreshes the norm used by the next positivity test. A zero residual exits before any further division.
Main results
* NLAlib.Krylov.CG.Reorth.solve is the complete uniform program. * NLAlib.Krylov.CG.Reorth.solveCount counts every allowed round and every history projection.