NLAlib.CGRun
Library · structure
A conjugate gradient run with bounded local errors: k \ge 1 steps of the Hestenes–Stiefel recurrence from \mathbf{x}_0 = \mathbf{0} for a real symmetric \mathbf{A}, every operation exact up to an error bounded by \varepsilon times its operands (the normwise standard model), \nu_j > 0 and \mu_j > 0 at every step taken, and \varepsilon \le 1/100. The run length is unrestricted; accumulated-error bounds state their horizon assumptions. The computed \nu_k after the last step may be 0 (the program stops there). Algorithm: cg (run model)
NLAlib.CGRun (n k : ℕ) : TypeImport NLAlib.Krylov.FinitePrecision.CGRun.