NLA-lib Explorer

Preconditioned conjugate gradient runs with a matvec oracle

Library · Source module

Preconditioned conjugate gradient runs with a matvec oracle

NLAlib.PCGRun n k records successful steps of PCG with bounded arithmetic errors and a NLAlib.MatvecOracle for a fixed positive definite preconditioner. The preconditioner approximates the inverse of the system matrix. Its application tolerance is separate from that of the scalar and vector arithmetic. The initial direction is also an oracle output.

The scalar numerator is a computed pairing of the residual and its preconditioned vector, with an additive dot-product error. It is not assumed to be an exactly weighted norm. Successful steps have positive numerator and curvature; the terminal numerator may be zero. The contract does not assert convergence for every oracle satisfying a Euclidean error bound.

Main definitions

* NLAlib.PCGRun: the physical run and its error certificates. * NLAlib.CGRun.toPCGRun: ordinary CG with the exact identity preconditioner.

Main results

* NLAlib.PCGRun.norm_mulVec_sub_z_le: the preconditioner-application error. * NLAlib.PCGRun.norm_mulVec_sub_p_zero_le: the initial direction error. * NLAlib.PCGRun.ν_eq_zero_of_r_eq_zero: a zero residual has zero numerator. * NLAlib.PCGRun.sub_mulVec_x_sub_r_succ: the residual-gap recurrence. * NLAlib.PCGRun.state_eq_pcgState: zero errors recover the exact PCG recurrence.

Declarations