NLAlib.TriangularSolve.CellsHold.update_entry
Library · theorem
A write of one entry of a matrix stored by columns, and of scratch elsewhere, updates the words its block holds.
NLAlib.TriangularSolve.CellsHold.update_entry {K : Type} {s s' : Ops.Store K} {b off n c r : ℕ}
{W : ℕ → K} {v : K} {w : ℕ × ℕ} (h : TriangularSolve.CellsHold s b off (n * n) W)
(hfr :
Ops.Store.EqOff (Ops.Store.inBlock b (off + c * n + r) 1 ⊔ Ops.Store.inBlock w.1 w.2 1) s s')
(hw : w.1 ≠ b) (hv : s'.get b (off + c * n + r) = some v) :
TriangularSolve.CellsHold s' b off (n * n) (Function.update W (c * n + r) v)Import NLAlib.Matrix.Factorizations.TriangularSolve.Substitution.