NLAlib.Ops.EntryCodec.packFinMatrix_columns
Library · theorem
Column-major packing is the flattened list of packed entry columns, including empty row or column dimensions.
NLAlib.Ops.EntryCodec.packFinMatrix_columns {K E : Type} (C : Ops.EntryCodec K E) {rows cols : ℕ}
(A : Matrix (Fin rows) (Fin cols) E) :
C.packFinMatrix A =
(List.ofFn fun j ↦ (List.ofFn fun i ↦ List.ofFn (C.words (A i j))).flatten).flattenImport NLAlib.Ops.Logic.EntryAppend.