NLA-lib Explorer

NLAlib.ShiftedQR.shiftedPrefix_succ

Library · theorem

The next visit is the ordinary Mathlib update of the current diagonal entry.

NLAlib.ShiftedQR.shiftedPrefix_succ {n : ℕ} (A : Matrix (Fin n) (Fin n) ℂ) (s : ℂ) (k : Fin n) :
  ShiftedQR.shiftedPrefix A s (↑k + 1) =
    (ShiftedQR.shiftedPrefix A s ↑k).updateRow k
      (Function.update (ShiftedQR.shiftedPrefix A s (↑k) k) k (A k k - s))

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.Shift.