NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.staticCost_step

Library · theorem

Static evaluation counts the two dot products and the retained scalar copy.

NLAlib.Krylov.CG.HSCG.Carried.staticCost_step {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  [Ops.Has Ops.Blas1Op Op] [Ops.Has Ops.OperatorOp Op] (n a b c d a' b' c' d' : ℕ) :
  Ops.stmtCost Krylov.CG.HSCG.Carried.step [n, a, b, c, d, a', b', c', d'] =
    Krylov.CG.HSCG.Carried.stepCount n

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Alg.