NLA-lib Explorer

Vector bounds for relative and absolute arithmetic errors

Library · Source module

Vector bounds for relative and absolute arithmetic errors

Coordinatewise arithmetic defects give Euclidean bounds with an absolute contribution proportional to the square root of the dimension. These statements retain separate multiplication and addition allowances and require no precision/dimension smallness window. They do not assert successful execution or absence of overflow; the kernel consumers supply those obligations from the existing arithmetic contract. [Higham2002, §2.2 and §3.1].

Main results

* NLAlib.Computation.AbsRelErr.norm_sub_le: componentwise mixed errors lifted to vectors. * NLAlib.Computation.norm_sub_add_smul_le_of_absRelErr: multiplication-addition defects. * NLAlib.Computation.norm_sub_smul_div_le_of_absRelErr: rescaling a rounded division.

Declarations