NLA-lib Explorer

Matrix.PosDef.galerkinInverse_eq

Library · theorem

Frame form for positive definite \mathbf{A}: \mathsf{galerkinInverse}(\mathbf{A}, \mathbf{X}) = \mathbf{Q}(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q})^{-1}\mathbf{Q}^{\mathsf{H}} for every \mathbf{Q} with orthonormal columns spanning the column space of \mathbf{X}. [Saad2003, §5.2].

Matrix.PosDef.galerkinInverse_eq.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  {p : Type u_3} {r : Type u_4} [Fintype n] [Fintype p] [Fintype r] [DecidableEq r]
  {A : Matrix n n 𝕜} (hA : A.PosDef) {Q : Matrix n r 𝕜} (hQ : HasOrthonormalCols Q)
  {X : Matrix n p 𝕜} (h : Q.mulVecLin.range = X.mulVecLin.range) :
  galerkinInverse A X = Q * (Qᴴ * A * Q)⁻¹ * Qᴴ

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.Galerkin.