NLA-lib Explorer

NLAlib.ShiftedQR.SchurShape.leaf

Library · theorem

A leaf finishes its range: writing an upper triangular block on the popped range and updating its couplings moves the range from active to finished.

NLAlib.ShiftedQR.SchurShape.leaf {n : ℕ} {rs done : List (ℕ × ℕ)} {lo d : ℕ}
  {A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} (h : ShiftedQR.SchurShape n (rs ++ [(lo, d)]) done A)
  (M : Ops.Machine ℝ) (Ub : Matrix (Fin d) (Fin d) ℂ) {Tb : Matrix (Fin d) (Fin d) ℂ}
  (hTb : Tb.IsUpperTriangular) :
  ShiftedQR.SchurShape n rs ((lo, d) :: done)
    (ShiftedQR.leafUpdateMatrix M lo Ub (setSubBlock A (lo, d) Tb))

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSolveSteps.