NLA-lib Explorer

NLAlib.ShiftedQR.solvePrefix_residual

Library · theorem

Dividing the completed residual is the next forward-substitution coordinate.

NLAlib.ShiftedQR.solvePrefix_residual {n : ℕ} (R : Matrix (Fin n) (Fin n) ℂ) (v : Fin n → ℂ)
  (j : Fin n) :
  ShiftedQR.solvePrefix R v (↑j + 1) =
    Function.update (ShiftedQR.solvePrefix R v ↑j) j
      (ShiftedQR.residualPrefix R (ShiftedQR.solvePrefix R v ↑j) j ↑j / R j j)

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RowSolveMath.