NLA-lib Explorer

NLAlib.ShiftedQR.SchurShape.subBlock_apply

Library · theorem

The block of a range of the shape is read without clamping.

NLAlib.ShiftedQR.SchurShape.subBlock_apply {n : ℕ} {active done : List (ℕ × ℕ)}
  {A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} (h : ShiftedQR.SchurShape n active done A) {r : ℕ × ℕ}
  (hr : r ∈ active ++ done) (a b : Fin r.2) : subBlock A r a b = A ⟨r.1 + ↑a, ⋯⟩ ⟨r.1 + ↑b, ⋯⟩

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSolveSteps.