NLA-lib Explorer

NLAlib.Ops.decodeMatrix

Library ยท def

A column-major block of words, one word per entry, decoded as a matrix of n rows and k columns: the entry (i, j) is the decoded word at the position j * n + i. Words missing from a short block are the default word.

NLAlib.Ops.decodeMatrix {K ๐•œ : Type} [Inhabited K] (dec : K โ†’ ๐•œ) (n k : โ„•) (xs : List K) :
  Matrix (Fin n) (Fin k) ๐•œ

Full source on GitHub

Import NLAlib.Ops.Catalog.Orth.