NLA-lib Explorer

NLAlib.Ops.EntryCodec.cell_wordLayout

Library · theorem

A logical entry address agrees with its scalar-word layout address.

NLAlib.Ops.EntryCodec.cell_wordLayout {K E : Type} (C : Ops.EntryCodec K E) (L : Ops.MatLayout)
  (i j z : ℕ) : (C.wordLayout L).cell (C.width * i + z) j = L.off + C.width * (j * L.ld + i) + z

Full source on GitHub

Import NLAlib.Ops.Logic.EntryFill.