NLA-lib Explorer

NLAlib.HasOrthonormalCols.minResidualInverse_eq

Library 路 theorem

Frame form, for every \mathbf{A}: for \mathbf{Q} with orthonormal columns and the column space of \mathbf{X}, \mathsf{minResidualInverse}(\mathbf{A}, \mathbf{X}) = \mathbf{Q}(\mathbf{A}\mathbf{Q})^{+}. [Saad2003, 搂6.5.1].

NLAlib.HasOrthonormalCols.minResidualInverse_eq.{u_1, u_2, u_3, u_4, u_5} {饾暅 : Type u_1} [RCLike 饾暅]
  {m : Type u_2} {n : Type u_3} {p : Type u_4} {r : Type u_5} [Fintype m] [Fintype n] [Fintype p]
  [Fintype r] [DecidableEq r] {Q : Matrix n r 饾暅} (hQ : HasOrthonormalCols Q) {X : Matrix n p 饾暅}
  (h : Q.mulVecLin.range = X.mulVecLin.range) (A : Matrix m n 饾暅) :
  minResidualInverse A X = Q * pinv (A * Q)

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.MinResidual.