NLA-lib Explorer

NLAlib.CGS2.cgs2Extend_eq

Library · theorem

The program is the loop of the rounds inside its two allocations.

NLAlib.CGS2.cgs2Extend_eq {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op]
  [Ops.Has Ops.CmpTst Tst] (τ : ℚ) :
  CGS2.cgs2Extend τ =
    Ops.Stmt.alloc (Ops.IExp.var 1 + Ops.IExp.var 2)
      (Ops.Stmt.alloc (Ops.IExp.const 3) (Ops.Stmt.loop (Ops.IExp.var 2) (CGS2.cgs2ExtendColumn τ)))

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.ExtendColumn.