NLA-lib Explorer

NLAlib.Ops.StoredCOO.matvec_peak_zero

Library · theorem

The COO scalar implementation reserves exactly one cell above caller storage, independently of pattern length, dimensions and duplicate coordinates.

NLAlib.Ops.StoredCOO.matvec_peak_zero {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  (pattern : List (ℕ × ℕ)) (idx : List ℕ) :
  Ops.stmtPeak (fun x x_1 ↦ 0) (Ops.StoredCOO.matvec pattern) idx = 1

Full source on GitHub

Import NLAlib.Ops.Profiles.StoredCOO.