NLA-lib Explorer

Scalar scan for a small subdiagonal entry

Library · Source module

Scalar scan for a small subdiagonal entry

The scan forms each squared modulus with two scalar multiplications and an addition, compares it with the supplied squared threshold, and writes a flag and the last qualifying index. The five-word output view contains three arithmetic temporaries, the flag, and the index.

Main results

* NLAlib.ShiftedQR.scan: the computable scalar traversal. * NLAlib.ShiftedQR.scanPrefix: its exact mathematical last-index specification. * NLAlib.ShiftedQR.scanRound_writes_word: one visit on any scalar machine with exact natural literals, with the rounded word NLAlib.ShiftedQR.subdiagonalSqWord.

Declarations