NLA-lib Explorer

NLAlib.IsQR.pinv_eq_inv_mul

Library · theorem

The pseudoinverse through QR when the diagonal of \mathbf{R} has no zero (full column rank): \mathbf{A}^{+} = \mathbf{R}^{-1}\mathbf{Q}^{\mathsf{H}}.

NLAlib.IsQR.pinv_eq_inv_mul.{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 Q : Matrix m n 𝕜} {R : Matrix n n 𝕜}
  (h : IsQR A Q R) (hR : ∀ (i : n), R i i ≠ 0) : pinv A = R⁻¹ * Qᴴ

Full source on GitHub

Import NLAlib.Matrix.Factorizations.QR.