NLA-lib Explorer

Rounded preconditioned conjugate gradient on stored matrices, in scalar operations

Library · Source module

Rounded preconditioned conjugate gradient on stored matrices, in scalar operations

NLAlib.Krylov.CG.HSPCG.Rounded.Stored.zeroStartRoutine reads a system matrix and an inverse preconditioner, each stored as n * n words, and a right-hand side, and writes the iterate, the residual, the preconditioned residual and the direction of rounded preconditioned conjugate gradient from the zero iterate. Its tree uses scalar operations only: the rounded zero-start routine on stored data (NLAlib.Krylov.CG.HSPCG.Rounded.Stored.solveRoutine, both matrices isolated operands forwarded to their products), then every vector operation expanded to scalar loops (NLAlib.Ops.RoundedScalarBlas.table).

Main definitions

* NLAlib.Krylov.CG.HSPCG.Rounded.Stored.solveRoutine, NLAlib.Krylov.CG.HSPCG.Rounded.Stored.solveSpec: the routine at the vector level and its specification. * NLAlib.Krylov.CG.HSPCG.Rounded.Stored.zeroStartRoutine, NLAlib.Krylov.CG.HSPCG.Rounded.Stored.zeroStartSpec: the routine in scalar operations and its specification. * NLAlib.Krylov.CG.HSPCG.Rounded.Stored.PrefixOutput: the output claim on a memory, as the certificates state it.

Main results

* NLAlib.Krylov.CG.HSPCG.Rounded.Stored.solveRoutine_meets: the vector-level routine meets its specification. * NLAlib.Krylov.CG.HSPCG.Rounded.Stored.zeroStartRoutine_meets: the routine meets its specification.

Declarations