Iterative refinement in three precisions, in scalar arithmetic
Library · Source module
Iterative refinement in three precisions, in scalar arithmetic
NLAlib.LinearSystems.Refinement.Rounded.solve is the whole program for a symmetric positive definite system: it casts the matrix to the factorization precision, factors it by left-looking Cholesky there, casts the matrix and the right-hand side to the residual precision, and runs k rounds of residual (residual precision), correction solve with the computed factor (factorization precision) and update (working precision), with a cast at each change of precision. Every operation of the tree is a scalar operation at one of the three tags or a cast.
The judgment gives a NLAlib.RefinementRun whose last iterate is the stored output, with the accuracies computed from the three unit roundoffs. The analysis is normwise in the 2-norm, and the machines are in the standard model: no overflow or underflow is modelled.
Main definitions
* NLAlib.LinearSystems.Refinement.Rounded.setup: the casts and the factorization. * NLAlib.LinearSystems.Refinement.Rounded.round: one round of refinement. * NLAlib.LinearSystems.Refinement.Rounded.solve: the program. * NLAlib.LinearSystems.Refinement.Rounded.IsThreePrecision: its contracts and arithmetic. * NLAlib.LinearSystems.Refinement.Rounded.solveSpec: its specification.
Main results
* NLAlib.LinearSystems.Refinement.Rounded.round_bounds: the local bounds of a round, on values. * NLAlib.LinearSystems.Refinement.Rounded.setup_meets: the setup meets its specification. * NLAlib.LinearSystems.Refinement.Rounded.round_meets: one round meets its specification. * NLAlib.LinearSystems.Refinement.Rounded.solve_meets: the program meets its specification.
Declarations
- NLAlib.LinearSystems.Refinement.Rounded.IsFactored
- NLAlib.LinearSystems.Refinement.Rounded.IsThreePrecision
- NLAlib.LinearSystems.Refinement.Rounded.isFactored_of_setup
- NLAlib.LinearSystems.Refinement.Rounded.isSubstRowTrace_congr
- NLAlib.LinearSystems.Refinement.Rounded.round
- NLAlib.LinearSystems.Refinement.Rounded.roundSpec
- NLAlib.LinearSystems.Refinement.Rounded.round_bounds
- NLAlib.LinearSystems.Refinement.Rounded.round_meets
- NLAlib.LinearSystems.Refinement.Rounded.rounds
- NLAlib.LinearSystems.Refinement.Rounded.roundsSpec
- NLAlib.LinearSystems.Refinement.Rounded.rounds_meets
- NLAlib.LinearSystems.Refinement.Rounded.setup
- NLAlib.LinearSystems.Refinement.Rounded.setupSpec
- NLAlib.LinearSystems.Refinement.Rounded.setup_meets
- NLAlib.LinearSystems.Refinement.Rounded.solve
- NLAlib.LinearSystems.Refinement.Rounded.solveSpec
- NLAlib.LinearSystems.Refinement.Rounded.solve_meets