Conjugate gradient on a stored dense matrix
Library · Source module
Conjugate gradient on a stored dense matrix
NLAlib.Krylov.CG.HSCG.Stored.zeroStartRoutine reads a matrix stored as n * n words and a right-hand side, and writes the iterate, the residual and the direction: it fills the iterate with literal zeros and runs the fixed-horizon solver on the stored matrix. That solver is the matrix-free one on stored data (NLAlib.Ops.Routine.withData): the matrix is an isolated operand, in any buffer different from those of the other operands, forwarded to every product.
Main definitions
* NLAlib.Krylov.CG.HSCG.Stored.solveRoutine: the solver on a stored matrix. * NLAlib.Krylov.CG.HSCG.Stored.zeroStartRoutine, NLAlib.Krylov.CG.HSCG.Stored.zeroStartSpec: the routine from the zero iterate and its specification.
Main results
* NLAlib.Krylov.CG.HSCG.Stored.solveRoutine_meets: the stored solver meets the specification of the matrix-free solver at the matrix decoded from the stored words. * NLAlib.Krylov.CG.HSCG.Stored.zeroStartRoutine_meets: the routine meets its specification.
Declarations
- NLAlib.Krylov.CG.HSCG.Stored.solveRoutine
- NLAlib.Krylov.CG.HSCG.Stored.solveRoutine_meets
- NLAlib.Krylov.CG.HSCG.Stored.solveSpec
- NLAlib.Krylov.CG.HSCG.Stored.zeroStart
- NLAlib.Krylov.CG.HSCG.Stored.zeroStartRoutine
- NLAlib.Krylov.CG.HSCG.Stored.zeroStartRoutine_meets
- NLAlib.Krylov.CG.HSCG.Stored.zeroStartSpec