NLA-lib Explorer

The rotations of the random Hessenberg form

Library · Source module

The rotations of the random Hessenberg form

The first half of RHess ([BanksGarzaVargasSrivastava2025, §5]): the N - 1 rounded Givens rotations that take \mathbf{e}_N to the drawn direction \mathbf{g}, on both sides of the matrix. On a machine with the standard model they are a unitary similarity up to ((1 + 50\boldsymbol{u})^{N-1} - 1)\|\mathbf{A}\|_2, and the last column of the unitary factor is a unit multiple of a vector within a small distance of \mathbf{g}/\|\mathbf{g}\|: the phase of the paper's reflector (its erratum P3) is explicit here.

Main definitions

* NLAlib.SmallEig.pairVector, NLAlib.SmallEig.rotateToStepWord, NLAlib.SmallEig.rhessWord: the words the program stores. * NLAlib.SmallEig.vecRot, NLAlib.SmallEig.RotInv: the rounded rotation of a vector and the invariant of the rotations.

Main results

* NLAlib.SmallEig.rotInv_fold: the invariant after all rotations. * NLAlib.SmallEig.rhess_matrix_bound, NLAlib.SmallEig.rhess_phase: the backward error of RHess and the phase of its last column.

Declarations