NLA-lib Explorer

NLAlib.existsUnique_isQR_of_injective

Library · theorem

A matrix of full column rank has exactly one QR factorization with positive diagonal.

NLAlib.existsUnique_isQR_of_injective.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_3}
  {n : Type u_4} [Fintype m] [Fintype n] [LinearOrder n] [DecidableEq n] {A : Matrix m n 𝕜}
  (hA : Function.Injective A.mulVec) : ∃! QR, IsQR A QR.1 QR.2 ∧ ∀ (i : n), 0 < QR.2 i i

Full source on GitHub

Import NLAlib.Matrix.Factorizations.QR.