NLA-lib Explorer

NLAlib.IsQR.pinv_eq

Library · theorem

The pseudoinverse through QR: \mathbf{A}^{+} = \mathbf{R}^{+}\mathbf{Q}^{\mathsf{H}}, with no rank assumption.

NLAlib.IsQR.pinv_eq.{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) : pinv A = pinv R * Qᴴ

Full source on GitHub

Import NLAlib.Matrix.Factorizations.QR.