NLA-lib Explorer

NLAlib.Ops.EntryCodec.length_packMatrix

Library · theorem

The packed matrix has one fixed-width word vector per entry.

NLAlib.Ops.EntryCodec.length_packMatrix {K E : Type} (C : Ops.EntryCodec K E) (rows cols : ℕ)
  (A : ℕ → ℕ → E) : (C.packMatrix rows cols A).length = cols * rows * C.width

Full source on GitHub

Import NLAlib.Ops.Logic.EntryLayout.