NLAlib.cgState_p_eq_zero_of_r_eq_zero
Library ยท theorem
A zero residual in the total CG recurrence has zero direction, for every matrix and starting vector. This includes the initial state and terminal states after any step.
NLAlib.cgState_p_eq_zero_of_r_eq_zero.{u_1, u_2} {๐ : Type u_1} [RCLike ๐] {n : Type u_2}
[Fintype n] (A : Matrix n n ๐) (b xโ : n โ ๐) {j : โ} (hr : (cgState A b xโ j).r = 0) :
(cgState A b xโ j).p = 0Import NLAlib.Krylov.LinearSystems.CGRecurrence.