NLA-lib Explorer

Stored last diagonal entry of a QR sweep

Library · Source module

Stored last diagonal entry of a QR sweep

The sweep leaves its working matrix in supplied storage. A scalar copy extracts its final complex diagonal entry into a separate two-word output before a caller releases that working storage. The wrapper composes with an exact or rounded sweep proof, without repeating its memory invariant or imposing a numerical accuracy assumption.

Main results

* NLAlib.ShiftedQR.copyLastDiagonal_writes: the actual last diagonal word pair is copied. * NLAlib.ShiftedQR.sweepWithDiag_writes_of_sweep: export the pair from any proved sweep.

Declarations