NLA-lib Explorer

NLAlib.ShiftedQR.residualPrefix_succ

Library · theorem

Subtracting one complex product advances the residual accumulator.

NLAlib.ShiftedQR.residualPrefix_succ {n : ℕ} (R : Matrix (Fin n) (Fin n) ℂ) (v : Fin n → ℂ)
  (j : Fin n) {t : ℕ} (ht : t < n) :
  ShiftedQR.residualPrefix R v j (t + 1) =
    ShiftedQR.residualPrefix R v j t - v ⟨t, ht⟩ * R ⟨t, ht⟩ j

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RowSolveMath.