NLA-lib Explorer

NLAlib.CGRun.norm_cgState_backwardH_r_of_posDef

Library · theorem

Exact CG on a positive definite model has the computed residual norms: if the backward model is positive definite, \|\tilde{\mathbf{r}}_j\| = \|\mathbf{r}_j\| for j \le k.

NLAlib.CGRun.norm_cgState_backwardH_r_of_posDef {n k : ℕ} (C : CGRun n k) (hH : C.backwardH.PosDef)
  {j : ℕ} (hj : j ≤ k) : ‖WithLp.toLp 2 (cgState C.backwardH C.dilatedRhs 0 j).r‖ = C.ρ j

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.CGModel.