NLA-lib Explorer

NLAlib.ShiftedQR.reverseRotations_solve

Library · theorem

Under the Hessenberg and invertibility hypotheses, forward substitution followed by all saved reverse rotations computes the row multiplied by the original inverse. [GolubVanLoan2013, §5.2.5].

NLAlib.ShiftedQR.reverseRotations_solve {n : ℕ} (D : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)
  (hD : IsUpperHessenberg D) (hdet : D.det ≠ 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.