NLA-lib Explorer

NLAlib.Ops.StoredCOO.matvecRoutine

Library · def

The scalar COO leaf as a routine: [rows, cols] (data : read, x : read cols) → (y : write rows), separated by block. The data block has one value per pattern entry.

NLAlib.Ops.StoredCOO.matvecRoutine {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  (pattern : List (ℕ × ℕ)) : Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Ops.Profiles.StoredCOO.