NLA-lib Explorer

Capped zero-start rounded PCG programs

Library · Source module

Capped zero-start rounded PCG programs

The existing four-vector PCG step is reused unchanged. A fifth, scoped scalar stores the computed residual pairing for the positivity test. Each active round refreshes that scalar; functional dot semantics identify it with the pairings inside the existing step. The cap bounds the number of active rounds and does not assert convergence.

Main results

* NLAlib.Krylov.CG.HSPCG.Rounded.guardedStep refreshes the residual-pairing cache. * NLAlib.Krylov.CG.HSPCG.Rounded.rounds stops on the computed residual pairing. * NLAlib.Krylov.CG.HSPCG.Rounded.solve initializes and runs capped zero-start PCG; NLAlib.Krylov.CG.HSPCG.Rounded.solveRoutine is its routine.

Declarations