NLA-lib Explorer

Mixed errors in vector norms and normalization

Library · Source module

Mixed errors in vector norms and normalization

A self-dot cache and its following square root are separate rounded operations. Their error estimate keeps the absolute contribution, and assumes nonnegative cache explicitly. Componentwise division bounds retain the positive computed divisor rather than hiding a smallness condition in a relative error parameter. No execution or range success is asserted.

Main results

* NLAlib.Computation.AbsRelErr.abs_sub_le_of_sq_of_sqrt: the decoded norm estimate. * NLAlib.Computation.abs_norm_sub_one_le_of_div_of_absRelErr: linear normalization error. * NLAlib.Computation.abs_norm_sq_sub_one_le_of_div_of_absRelErr: squared norm defect. * NLAlib.Computation.norm_sub_smul_inv_norm_le_of_div_of_absRelErr: input-direction error.

Declarations