NLA-lib Explorer

NLAlib.Ops.Count.weight

Library · abbrev

A weighted count: one call of o at d weighs w o d, one use of a query wt q d.

NLAlib.Ops.Count.weight {Op Tst : Type} (w : Op → List ℕ → ℕ)
  (wt : Tst → List ℕ → ℕ := fun x x_1 ↦ 0) : Ops.Count Op Tst →+ ℕ

Full source on GitHub

Import NLAlib.Ops.Transfer.