NLA-lib Explorer

Reorthogonalized conjugate gradient on a stored dense matrix

Library · Source module

Reorthogonalized conjugate gradient on a stored dense matrix

NLAlib.Krylov.CG.Reorth.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 capped reorthogonalized 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.Reorth.Stored.solveRoutine: the solver on a stored matrix. * NLAlib.Krylov.CG.Reorth.Stored.zeroStartRoutine, NLAlib.Krylov.CG.Reorth.Stored.zeroStartSpec: the routine from the zero iterate and its specification.

Main results

* NLAlib.Krylov.CG.Reorth.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.Reorth.Stored.zeroStartRoutine_meets: the routine meets its specification.

Declarations