NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.staticCost_step

Library · theorem

Static evaluation counts all thirteen operations of one PCG round.

NLAlib.Krylov.CG.HSPCG.staticCost_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]
  (n a b c d a' b' c' d' : ℕ) :
  Ops.stmtCost Krylov.CG.HSPCG.step [n, a, b, c, d, a', b', c', d'] = Krylov.CG.HSPCG.stepCount n

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Alg.