NLA-lib Explorer

The scalar residual loop of triangular row substitution

Library · Source module

The scalar residual loop of triangular row substitution

The current right-hand-side coordinate is copied into an accumulator. Earlier solved coordinates then subtract their complex products with the triangular column. The vector and matrix remain readable throughout; only the accumulator and reusable arithmetic scratch change.

Main results

* NLAlib.ShiftedQR.columnResidual: the actual column-residual program. * NLAlib.ShiftedQR.residualTerms_writes: the multiply-subtract loop computes its finite sum. * NLAlib.ShiftedQR.columnResidual_writes: initialization and the complete residual.

Declarations