NLA-lib Explorer

NLAlib.Ops.StoredOperator.matvecRoutine

Library · def

A matrix-vector tree as a routine: [m, n] (data : read, x : read n) → (y : write m), separated by block.

NLAlib.Ops.StoredOperator.matvecRoutine {Op Tst : Type} (dataLength : ℕ → ℕ → ℕ)
  (body : Ops.Stmt Op Tst) : Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Ops.Profiles.StoredRoutine.