NLA-lib Explorer

Catalog: the three operations of iterative refinement

Library · Source module

Catalog: the three operations of iterative refinement

One step of iterative refinement for a fixed square matrix \mathbf{A} calls three vector operations, each with its own accuracy, so that each can run in its own precision [CarsonHigham2018]:

* NLAlib.Ops.RefinementOp.residual [n] [b, x] [r]: the residual \mathbf{b} - \mathbf{A}\mathbf{x}, in the residual precision; * NLAlib.Ops.RefinementOp.solve [n] [r] [d]: the correction \mathbf{A}^{-1}\mathbf{r}, from factors computed in the factorization precision; * NLAlib.Ops.RefinementOp.update [n] [d, x] [x]: the update \mathbf{x} + \mathbf{d} in place, in the working precision.

The contracts are normwise, in the Euclidean norm of the decoded blocks. They say nothing about how an operation is computed: an implementation in scalar arithmetic at a precision tag (NLAlib.Ops.Tagged) is linked below these operations, and its accuracy theorem supplies the parameter of the contract.

Main results

* NLAlib.Ops.IsRefinement: the three operations satisfy their contracts. * NLAlib.Ops.exists_isRefinement: the contracts can be satisfied together, by exact arithmetic.

Declarations