NLAlib.Krylov.CG.HSPCG.staticCost_rounds
Library · theorem
The loop's evaluator count is exactly the number of rounds times the round count.
NLAlib.Krylov.CG.HSPCG.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]
(n k a b c d a' b' c' d' : ℕ) :
Ops.stmtCost Krylov.CG.HSPCG.rounds [n, k, a, b, c, d, a', b', c', d'] =
k • Krylov.CG.HSPCG.stepCount nImport NLAlib.Krylov.CG.HSPCG.Alg.