NLA-lib Explorer

NLAlib.Ops.StoredCOO.matvec_peak_le

Library · theorem

A common primitive-workspace ceiling is added once to the one stored temporary.

NLAlib.Ops.StoredCOO.matvec_peak_le {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  (pattern : List (ℕ × ℕ)) (W : Op → List ℕ → ℕ) (w : ℕ) (hW : ∀ (o : Op) (d : List ℕ), W o d ≤ w)
  (idx : List ℕ) : Ops.stmtPeak W (Ops.StoredCOO.matvec pattern) idx ≤ 1 + w

Full source on GitHub

Import NLAlib.Ops.Profiles.StoredCOO.