NLA-lib Explorer

NLAlib.CGS2.cgs2ExtendColumnCount

Library · def

The operations of column c of a block extension at the dimensions [n, k, b]: two norms, b zero literals, two classical passes against k + c columns, k + c additions, the threshold literal, one multiplication, one comparison, and the larger of the two branches (n zero literals, or a copy, a scaling and a scalar copy).

NLAlib.CGS2.cgs2ExtendColumnCount {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op]
  [Ops.Has Ops.CmpTst Tst] (τ : ℚ) (n k b c : ℕ) : Ops.Count Op Tst

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.Extend.