NLA-lib Explorer

dot and nrm2 over sum

Library · Source module

dot and nrm2 over sum

NLAlib.Ops.dotSum: the products x_i y_i in a scratch block, then sum. So the summation rule of dot is that of sum, whatever implements it; with a sum of error e the error of dot is (1 + u) (1 + e) - 1. NLAlib.Ops.nrm2Sum: the squares, sum, and a square root.

Main results

* NLAlib.Ops.isDotErr_of_isSumErr: mathematics, from the sum of the rounded products to the dot product. * NLAlib.Ops.prodLoop_wp: the loop that fills the scratch block. * NLAlib.Ops.dotSumRoutine_meets, NLAlib.Ops.nrm2SumRoutine_meets: the judgments.

Declarations