NLA-lib Explorer

NLAlib.isQR_householder

Library · theorem

Householder QR gives the thin QR factorization of a tall matrix: for n \le m, the first n columns of \mathbf{Q} and the first n rows of \mathbf{R}.

NLAlib.isQR_householder.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {m n : ℕ} (A : Matrix (Fin m) (Fin n) 𝕜)
  (h : n ≤ m) :
  IsQR A ((householderQ A).submatrix id (Fin.castLE h))
    ((householderR A).submatrix (Fin.castLE h) id)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Householder.