NLA-lib Explorer

A scalar implementation of one shifted QR step

Library · Source module

A scalar implementation of one shifted QR step

The working matrix is initialized to the raw matrix minus the supplied diagonal shift. The output starts as a copy of the raw matrix. Each round computes its Givens coefficients from the working column, rotates the working rows, and conjugates the output by the same rotation. Coefficients and the working matrix are scoped scratch. No matrix multiplication, QR decomposition or rotation is an operation of the emitted scalar signature.

Main results

* NLAlib.ShiftedQR.round: the shared working/output state transition. * NLAlib.ShiftedQR.shiftedStep: the complete single-shift implementation. * NLAlib.ShiftedQR.shiftedStepRoutine: that implementation with its interface.

Declarations