NLA-lib Explorer

Rounded capped conjugate gradient on a stored dense matrix

Library · Source module

Rounded capped conjugate gradient on a stored dense matrix

NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.zeroStartRoutine reads a matrix stored as n * n words and a right-hand side, and writes the iterate, the residual, the direction and the cell of the carried residual product: it fills the iterate with literal zeros and runs the rounded capped solver on the stored matrix. The solver is the matrix-free one on stored data (NLAlib.Ops.Routine.withData): the matrix is an isolated operand, forwarded to every product.

Main definitions

* NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.solveRoutine: the solver on a stored matrix. * NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.zeroStartRoutine, NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.zeroStartSpec: the routine and its specification.

Main results

* NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.solveRoutine_meets: the solver on a stored matrix meets the specification of the matrix-free solver at the decoded matrix. * NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.zeroStartRoutine_meets: the routine meets its specification.

Declarations