NLA-lib Explorer

NLAlib.IsQR.mul_eq_conjTranspose_mul_mul

Library · theorem

One step of the QR iteration is a unitary similarity: if \mathbf{H} = \mathbf{Q}\mathbf{R} for square \mathbf{H}, then \mathbf{R}\mathbf{Q} = \mathbf{Q}^{\mathsf{H}}\mathbf{H}\mathbf{Q}. [GolubVanLoan2013, §7.3].

NLAlib.IsQR.mul_eq_conjTranspose_mul_mul.{u_1, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_4}
  [Fintype n] [LinearOrder n] [DecidableEq n] {H Q R : Matrix n n 𝕜} (h : IsQR H Q R) :
  R * Q = Qᴴ * H * Q

Full source on GitHub

Import NLAlib.Matrix.Factorizations.QR.