The shifted QR step as a sequence of conjugations by Givens rotations
Library · Source module
The shifted QR step as a sequence of conjugations by Givens rotations
The shifted QR step \mathbf{Q}^{\mathsf{H}}\mathbf{H}\mathbf{Q} (NLAlib.shiftedQRStep) is reached from \mathbf{H} by n conjugations \mathbf{Z} \mapsto \mathbf{G}_k \mathbf{Z} \mathbf{G}_k^{\mathsf{H}}, with \mathbf{G}_k the rotation of step k of Givens QR of \mathbf{H} - s\mathbf{I} (NLAlib.givensHessenbergStep): the last of the n + 1 steps of Givens QR of a square matrix of order n + 1 is the identity. A program that rotates the rows of the working matrix and conjugates a copy of \mathbf{H} by the same rotations needs no accumulation of \mathbf{Q} and no product of matrices.
Main results
* NLAlib.givensHessenbergStep_last: the last step of Givens QR of a square matrix is the identity. * NLAlib.shiftedQRStep_eq_conj_givensHessenbergState: the shifted QR step is the conjugation of \mathbf{H} by the unitary factor after n steps. * NLAlib.conj_givensHessenbergState_succ: the conjugation after k + 1 steps is one more conjugation by a rotation.