NLA-lib Explorer

Rounded scalar implementations of both stored PCG operators

Library · Source module

Rounded scalar implementations of both stored PCG operators

Both operator capabilities retain the actual input words. The system contract follows from standard scalar rounding. The applied inverse preconditioner is the actual deterministic scalar row kernel, represented by the existing possibly nonlinear matrix-vector oracle. The context guard is used only in the proof; its fallback is never emitted in the program.

Main results

* NLAlib.Krylov.CG.HSPCG.Rounded.StoredContext.oracle: the actual preconditioner action. * NLAlib.Krylov.CG.HSPCG.Rounded.StoredContext.fallback_satisfies: the reference interpretation.

The guarded interpretation protects the two stored matrices as a set of buffers (NLAlib.Ops.Mem.Isolated), so they may be in any buffers apart from the other operands.

* NLAlib.Krylov.CG.HSPCG.Rounded.StoredContext.guarded_satisfies: the guarded source contracts. * NLAlib.Krylov.CG.HSPCG.Rounded.StoredContext.guarded_laws: the rounded PCG primitive laws.

Declarations