NLA-lib Explorer

NLAlib.IsQR.isUpperHessenberg_of_isUpperHessenberg

Library ยท theorem

For a nonsingular Hessenberg matrix the unitary factor of any QR factorization is Hessenberg: if \mathbf{H} = \mathbf{Q}\mathbf{R} is upper Hessenberg and the diagonal of \mathbf{R} has no zero, then \mathbf{Q} is upper Hessenberg.

NLAlib.IsQR.isUpperHessenberg_of_isUpperHessenberg.{u_1} {๐•œ : Type u_1} [RCLike ๐•œ] {n : โ„•}
  {H Q R : Matrix (Fin n) (Fin n) ๐•œ} (h : IsQR H Q R) (hH : IsUpperHessenberg H)
  (hR : โˆ€ (i : Fin n), R i i โ‰  0) : IsUpperHessenberg Q

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Hessenberg.