NLA-lib Explorer

Reporting a singular complex pivot

Library · Source module

Reporting a singular complex pivot

Two actual scalar zero tests determine whether a stored complex pivot vanishes. A zero pivot sets the supplied flag; a nonzero pivot retains its initial zero flag. This permits a solver to return a singular result and skip subsequent divisions.

Main results

* NLAlib.ShiftedQR.checkComplexPivot: actual pivot tests and flag update. * NLAlib.ShiftedQR.checkComplexPivot_writes: exact zero/nonzero reporting without a pivot premise.

Declarations