NLAlib.HoldsMatrix.of_entry_write
Library · theorem
Writing one complete complex entry updates the corresponding mathematical matrix entry. All other entries are retained by the ordinary spatial frame.
NLAlib.HoldsMatrix.of_entry_write {rows cols : ℕ} {b : ℕ × ℕ} {A : Matrix (Fin rows) (Fin cols) ℂ}
{s s' : Ops.Store ℝ} (h : HoldsMatrix b A s) (i : Fin rows) (j : Fin cols) (z : ℂ)
(hfr : Ops.Store.EqOff (Ops.Store.inBlock b.1 (b.2 + 2 * (↑j * rows + ↑i)) 2) s s')
(hr : s'.get b.1 (b.2 + 2 * (↑j * rows + ↑i)) = some z.re)
(hi : s'.get b.1 (b.2 + 2 * (↑j * rows + ↑i) + 1) = some z.im) :
HoldsMatrix b (A.updateRow i (Function.update (A i) j z)) s'Import NLAlib.Matrix.FinitePrecision.StoredMatrix.