NLAlib.TriangularSolve.get_matrix_entry
Library · theorem
Entry (r, c) of a matrix of order n stored by columns, read from its block.
NLAlib.TriangularSolve.get_matrix_entry {K : Type} [Inhabited K] {s : Ops.Store K} {b off n c r : ℕ}
{xs : List K} (h : s.readBlock b off (n * n) = some xs) (hc : c < n) (hr : r < n) :
s.get b (off + c * n + r) = some (Ops.vec xs (c * n + r))Import NLAlib.Matrix.Factorizations.TriangularSolve.Substitution.