NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.staticCost_initialize

Library · theorem

The static evaluator counts the initializer's three calls without scalar arithmetic.

NLAlib.Krylov.CG.HSPCG.Rounded.staticCost_initialize {Op Tst : Type} [Ops.Has Ops.Blas1Op Op]
  [Ops.Has (Ops.Tagged Krylov.CG.HSPCG.Preconditioner Ops.OperatorOp) Op] (n b x x' r z p : ℕ) :
  Ops.stmtCost Krylov.CG.HSPCG.Rounded.initializeState [n, b, x, x', r, z, p] =
    Krylov.CG.HSPCG.Rounded.initializeCount n

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Initialization.