NLA-lib Explorer

Matrix.PosDef.star_cgState_p_dotProduct_r

Library · theorem

The current search direction pairs with the residual as the residual pairs with itself. The correction from the residual to the direction is in the current Krylov space, which is orthogonal to the residual. [HestenesStiefel1952, Theorem 5:1].

Matrix.PosDef.star_cgState_p_dotProduct_r.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] {A : Matrix n n 𝕜} (hA : A.PosDef) (b x₀ : n → 𝕜) (k : ℕ) :
  star (cgState A b x₀ k).p ⬝ᵥ (cgState A b x₀ k).r =
    star (cgState A b x₀ k).r ⬝ᵥ (cgState A b x₀ k).r

Full source on GitHub

Import NLAlib.Krylov.CG.Math.Recurrence.