NLA-lib Explorer

Two explicit stored operators for preconditioned CG

Library · Source module

Two explicit stored operators for preconditioned CG

The system and applied inverse preconditioner select their respective raw data capabilities. Both use the same checked scalar dense leaf and isolated-context logic. The source interpretation is a proof device; no source guard or reference matrix operation runs in the target implementation.

Main results

* NLAlib.Krylov.CG.HSPCG.StoredContext.table forwards both declared matrices. * NLAlib.Krylov.CG.HSPCG.StoredContext.fallback_satisfies gives 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.StoredContext.guarded_satisfies: the guarded source contracts. * NLAlib.Krylov.CG.HSPCG.StoredContext.guarded_laws: the exact PCG primitive laws.

Declarations