NLA-lib Explorer

Matrix.PosDef.cgState_p_ne_zero_of_r_ne_zero

Library ยท theorem

A nonzero residual in the positive-definite CG recurrence has a nonzero direction. [HestenesStiefel1952, Theorem 5:1].

Matrix.PosDef.cgState_p_ne_zero_of_r_ne_zero.{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 : โ„•}
  (hr : (cgState A b xโ‚€ k).r โ‰  0) : (cgState A b xโ‚€ k).p โ‰  0

Full source on GitHub

Import NLAlib.Krylov.CG.Math.Recurrence.