NLA-lib Explorer

NLAlib.IsStableQRStep

Library · def

A backward-stable single-shift QR step with error \varepsilon: H' is upper Hessenberg, R upper triangular, and one unitary \widehat{\mathbf{Q}} has \|\mathbf{H}' - \widehat{\mathbf{Q}}^{\mathsf{H}}\mathbf{H}\widehat{\mathbf{Q}}\|_2 \le \varepsilon and \|\mathbf{H} - s\mathbf{I} - \widehat{\mathbf{Q}}\mathbf{R}\|_2 \le \varepsilon. [BanksGarzaVargasSrivastava2022, Definition 3.4], with an absolute error.

NLAlib.IsStableQRStep {n : ℕ} (ε : ℝ) (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) (s : ℂ)
  (H' R : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) : Prop

Full source on GitHub

Import NLAlib.Matrix.QRIteration.StableStep.