NLA-lib Explorer

NLAlib.Krylov.CG.Reorth.advance

Library · def

Save residual column i, execute the full sweep round, and refresh the guard norm. The surrounding solver supplies the history and guard buffers at indices 5 and 6. Written directly rather than with the builder: it is the body of the solver's loop, on the loop index and the buffers the solver allocates, and the builder's run would give it a frame of its own.

NLAlib.Krylov.CG.Reorth.advance {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op]
  [Ops.Has Ops.OperatorOp Op] : Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Krylov.CG.Reorth.Solver.