A CG round with full residual reorthogonalization
Library · Source module
A CG round with full residual reorthogonalization
The round forms the new iterate and residual, sweeps that residual against every stored column, and only then computes its squared norm and the new search direction. The prefix and suffix borrow the round's scratch. The standalone sweep frees its two cells before the suffix.
Main results
* NLAlib.Krylov.CG.Reorth.round is the uniform reorthogonalized round. * NLAlib.Krylov.CG.Reorth.staticCost_round counts the round and every projection.