NLA-lib Explorer

NLAlib.shqrAcceptShift

Library · def

The first accepted shift of the search, k = 2^m: the first of the Ritz values ss, then the candidates NLAlib.shqrCandidates (the promising Ritz value and the exceptional shifts), that NLAlib.IsShiftAccept accepts; the promising Ritz value if none is (which the convergence theorem excludes). [BanksGarzaVargasSrivastava2021, §4.2], with the candidates tried in order.

NLAlib.shqrAcceptShift {n : ℕ} (τ B θ α γ : ℝ) (m : ℕ) (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)
  (ss : List ℂ) : ℂ

Full source on GitHub

Import NLAlib.Matrix.QRIteration.ShiftSearch.