NLA-lib Explorer

NLAlib.shiftedQRStep_eq_conj_givensHessenbergState

Library · theorem

The shifted QR step is the conjugation by the unitary factor after n steps: the n + 1 steps of Givens QR of \mathbf{H} - s\mathbf{I} have the identity as last step, so NLAlib.shiftedQRStep conjugates by the factor of the first n steps.

NLAlib.shiftedQRStep_eq_conj_givensHessenbergState {n : ℕ}
  (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) (s : ℂ) :
  shiftedQRStep H s =
    (givensHessenbergState (H - s • 1) n).1ᴴ * H * (givensHessenbergState (H - s • 1) n).1

Full source on GitHub

Import NLAlib.Matrix.QRIteration.ShiftedQRConjugation.