NLAlib.Ops.decodeMatrix_apply
Library · theorem
The entry (i, j) of a decoded block is the decoded word at the position j * n + i.
NLAlib.Ops.decodeMatrix_apply {K 𝕜 : Type} [Inhabited K] (dec : K → 𝕜) (n k : ℕ) (xs : List K)
(i : Fin n) (j : Fin k) : Ops.decodeMatrix dec n k xs i j = dec (Ops.vec xs (↑j * n + ↑i))Import NLAlib.Ops.Catalog.Orth.