NLA-lib Explorer

NLAlib.CGS2.stmtCost_cgs2Extend

Library · theorem

The static count of the block extension is the sum over its columns: every pass, every coefficient addition and the larger branch of every deflation test are charged.

NLAlib.CGS2.stmtCost_cgs2Extend {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op]
  [Ops.Has Ops.CmpTst Tst] (τ : ℚ) (n k b q w q' w' c : ℕ) :
  Ops.stmtCost (CGS2.cgs2Extend τ) [n, k, b, q, w, q', w', c] = CGS2.cgs2ExtendCount τ n k b

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.Extend.