NLA-lib Explorer

Sequential dot products with mixed rounding and finite range

Library · Source module

Sequential dot products with mixed rounding and finite range

A mathematical accumulation trace tracks each rounded product and addition. Its error and input-only range bounds apply to the actual sequential scalar implementation, including absolute rounding allowances. Adding zero need not be exact for these bounds.

Main results

* NLAlib.Ops.IsDotTrace records local product and accumulation errors. * NLAlib.Ops.IsDotTrace.abs_sum_mul_sub_le_of_absRelErr bounds its forward error. * NLAlib.Ops.IsDotTrace.abs_add_le_of_absRelErr bounds every next exact accumulation using input entries, dimension and precision.

Declarations