NLA-lib Explorer

NLAlib.ShiftedQR.reverseRotations_solve_of_diagonal

Library · theorem

Nonzero computed triangular pivots suffice for the reverse-rotation inverse identity. These pivots are established by the actual checks in the program.

NLAlib.ShiftedQR.reverseRotations_solve_of_diagonal {n : ℕ}
  (D : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) (hD : IsUpperHessenberg D)
  (hdiag : ∀ (i : Fin (n + 1)), givensHessenbergR D i i ≠ 0) (v : Fin (n + 1) → ℂ) :
  ShiftedQR.reverseRotations D n (rowForwardSubst (givensHessenbergR D) v) n = v ᵥ* D⁻¹

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RowSolveMath.