NLA-lib Explorer

NLAlib.multiShiftedQRStep

Library · def

The multi-shift QR step: the single-shift steps with the shifts of ss in order, \mathsf{multiShiftedQRStep}(\mathbf{H}, [s_1, \dots, s_k]) = \mathsf{shiftedQRStep}(\cdots\mathsf{shiftedQRStep}(\mathbf{H}, s_1)\cdots, s_k). It is a QR step with shift polynomial \prod_i (z - s_i) (composition, [BanksGarzaVargasSrivastava2022, Lemma 3.2]), and the degree k implicit QR step of the paper in exact arithmetic.

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

Full source on GitHub

Import NLAlib.Matrix.QRIteration.ShiftedQR.