NLA-lib Explorer

NLAlib.MGS.factor_peak_zero

Library · theorem

The factorization uses exactly two stored scratch cells with zero primitive workspace.

NLAlib.MGS.factor_peak_zero {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op]
  [Ops.Has Ops.CmpTst Tst] (idx : List ℕ) : Ops.stmtPeak (fun x x_1 ↦ 0) MGS.factor idx = 2

Full source on GitHub

Import NLAlib.Matrix.Factorizations.MGS.Resources.