NLA-lib Explorer

NLAlib.Ops.EntryCodec.scalar_pack

Library · theorem

Width-one packing is the ordinary list of vector entries, without preprocessing.

NLAlib.Ops.EntryCodec.scalar_pack {K : Type} (n : ℕ) (v : ℕ → K) :
  (Ops.EntryCodec.scalar K).pack n v = List.ofFn fun i ↦ v ↑i

Full source on GitHub

Import NLAlib.Ops.Logic.EntryColumn.