NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.staticCost_rounds

Library · theorem

The loop's static count includes comparison queries.

NLAlib.Krylov.CG.HSPCG.Rounded.staticCost_rounds {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.Has Ops.CmpTst Tst]
  (n cap a b c d v a' b' c' d' v' : ℕ) :
  Ops.stmtCost Krylov.CG.HSPCG.Rounded.rounds [n, cap, a, b, c, d, v, a', b', c', d', v'] =
    Krylov.CG.HSPCG.Rounded.roundsCount n cap

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Alg.