NLA-lib Explorer

NLAlib.PCGRun

Library · structure

A run of k \ge 1 successful PCG steps from the zero iterate, for a real Hermitian \mathbf{A} and a fixed positive definite preconditioner \mathbf{M} applied through a matvec oracle. Arithmetic defects are bounded by \varepsilon times their operands, with \varepsilon \le 1/100. The oracle supplies its own tolerance. The computed numerator and curvature are positive at each step taken; the final numerator is nonnegative. This is a local-error model of the recurrence in [Saad2003, Algorithm 9.1], in the convention where \mathbf{M} approximates \mathbf{A}^{-1}. Algorithm: pcg (run model)

NLAlib.PCGRun (n k : ℕ) : Type

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.PCGRun.