NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.staticCost_rounds

Library · theorem

The static count of the round loop is the number of rounds times the per-round count.

NLAlib.Krylov.CG.HSCG.staticCost_rounds {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op] (n k a b c a' b' c' : ℕ) :
  Ops.stmtCost Krylov.CG.HSCG.rounds [n, k, a, b, c, a', b', c'] = k • Krylov.CG.HSCG.stepCount n

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Alg.