NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.step

Library · def

One exact-PCG round computes the Hestenes–Stiefel recurrence with one application of the system and one of the inverse preconditioner. [Saad2003, Algorithm 9.1].

NLAlib.Krylov.CG.HSPCG.step {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op]
  [Ops.Has Ops.OperatorOp Op]
  [Ops.Has (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op] : Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Alg.