NLA-lib Explorer

NLAlib.minResidualInverse_eq_galerkinInverse

Library · theorem

The normal-equations form: \mathsf{minResidualInverse}(\mathbf{A}, \mathbf{X}) = \mathsf{galerkinInverse}(\mathbf{A}^{\mathsf{H}}\mathbf{A}, \mathbf{X})\,\mathbf{A}^{\mathsf{H}}, for every \mathbf{A}: the minimal residual method is the Galerkin method for \mathbf{A}^{\mathsf{H}}\mathbf{A} on the same space.

NLAlib.minResidualInverse_eq_galerkinInverse.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_2} {n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n] [Fintype p]
  (A : Matrix m n 𝕜) (X : Matrix n p 𝕜) : minResidualInverse A X = galerkinInverse (Aᴴ * A) X * Aᴴ

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.MinResidual.