Scalar products of squared subdiagonal moduli
Library · Source module
Scalar products of squared subdiagonal moduli
The shift-acceptance statistic is computed from the actual matrix entries by scalar squares, addition and multiplication. One three-word scratch view is reused for every factor. The empty product is one and needs no matrix entry read.
Main results
* NLAlib.ShiftedQR.subdiagProductWithScratch: the visible scalar product loop. * NLAlib.ShiftedQR.subdiagProduct: one scoped scratch allocation around the whole loop. * NLAlib.ShiftedQR.subdiagProductWithScratch_writes: total exact product calculation.