NLA-lib Explorer

NLAlib.Ops.stmtCost_unaryMap

Library · theorem

The unary map's complete primitive count is one call per entry.

NLAlib.Ops.stmtCost_unaryMap {Op Tst : Type} (o : Op) (n x y : ℕ) :
  Ops.stmtCost (Ops.unaryMap o) [n, x, y] = n • Ops.Count.one o []

Full source on GitHub

Import NLAlib.Ops.Blas.Map.