NLA-lib Explorer

Matrix.PosDef.star_cgState_r_dotProduct_eq_zero

Library · theorem

The residuals are orthogonal, for positive definite \mathbf{A}: \mathbf{r}_j^{\mathsf{H}}\mathbf{r}_k = 0 for j < k. [HestenesStiefel1952, Theorem 5:1]; [TrefethenBau1997, Theorem 38.1]. It is (5:3a) there, for real symmetric \mathbf{A}. Result: cg-orthogonality

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

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CGRecurrence.