NLA-lib Explorer

NLAlib.pinv_mul_rev

Library · theorem

The reverse-order law. If \mathbf{A} has full column rank and \mathbf{B} has full row rank then (\mathbf{A}\mathbf{B})^{+} = \mathbf{B}^{+}\mathbf{A}^{+}. [GolubVanLoan2013, §5.5.2].

NLAlib.pinv_mul_rev.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {m : Type u_3}
  {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] {A : Matrix l m 𝕜} {B : Matrix m n 𝕜}
  (hA : Function.Injective A.mulVec) (hB : Function.Injective Bᴴ.mulVec) :
  pinv (A * B) = pinv B * pinv A

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.Pinv.