NLA-lib Explorer

NLAlib.ritzValues

Library · def

The Ritz values of order k: the eigenvalues of the trailing block \mathbf{H}_{(k)}, with multiplicity, as a list (the roots of the characteristic polynomial \chi_k of \mathbf{H}_{(k)}, in an unspecified order). [BanksGarzaVargasSrivastava2021, §1.1].

NLAlib.ritzValues {n : ℕ} (k : ℕ) (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) : List ℂ

Full source on GitHub

Import NLAlib.Matrix.QRIteration.ShiftedQR.