NLAlib.Ops.EntryCodec.packMatrix_entry
Library · theorem
Repacking the natural-indexed decoding of a correctly sized block preserves every word.
NLAlib.Ops.EntryCodec.packMatrix_entry {K E : Type} [Inhabited K] (C : Ops.EntryCodec K E)
(rows cols : ℕ) (xs : List K) (hlen : xs.length = cols * rows * C.width) :
(C.packMatrix rows cols fun i j ↦ C.entry xs (j * rows + i)) = xsImport NLAlib.Ops.Logic.EntryPacking.