Bottom-up reduction to Hessenberg form by rounded rotations
Library · Source module
Bottom-up reduction to Hessenberg form by rounded rotations
A complex matrix of order N is reduced to upper Hessenberg form by a unitary similarity that fixes the last coordinate vector \mathbf{e}_N: row by row from the bottom, the entries of row r left of the subdiagonal are zeroed by rotations of adjacent columns c, c + 1 < r, each applied on both sides. The columns rotated never include the last one, so the accumulated unitary fixes \mathbf{e}_N; the entries below the subdiagonal are then written as exact zeros. This is the "bottom-up Hessenberg form" that [BanksGarzaVargasSrivastava2025, Definition 5.1] assumes to be stable; here it is a fixed program over rounded scalar arithmetic, and its backward error is proved. The exact top-down reduction (NLAlib.hessenbergReduction, fixing \mathbf{e}_1) is not a program.
Main definitions
* NLAlib.reduceLastStep, NLAlib.hessenbergReduceLast: one step and the program [N, w, j0] (A) → (A, Lg), which records its rotations in a slotted log (NLAlib.HoldsSlottedLog), one slot per round. * NLAlib.reduceLastStepEntry, NLAlib.hessenbergReduceLastSlots: the entries it records. * NLAlib.hessenbergReduceLastWord: the matrix it stores on a machine.
Main results
* NLAlib.reduceLastStep_writes_word, NLAlib.hessenbergReduceLast_writes_word: the program stores the machine evaluation. * NLAlib.hessenbergReduceLast_isPerturbedUnitarySimilarBy: backward stability by the exact unitary of the recorded rotations, which fixes the last coordinate vector; NLAlib.hessenbergReduceLast_isPerturbedUnitarySimilar: the unitary unnamed. * NLAlib.hessenbergReduceLast_terminates: termination on every tape.
Declarations
- NLAlib.ShiftedQR.norm_machineColRotation_apply_left_le
- NLAlib.ShiftedQR.specNorm_machineRowRotation_machineColRotation_sub_le
- NLAlib.hessenbergReduceLast
- NLAlib.hessenbergReduceLastSlots
- NLAlib.hessenbergReduceLastSlots_plane
- NLAlib.hessenbergReduceLastWord
- NLAlib.hessenbergReduceLast_isPerturbedUnitarySimilar
- NLAlib.hessenbergReduceLast_isPerturbedUnitarySimilarBy
- NLAlib.hessenbergReduceLast_terminates
- NLAlib.hessenbergReduceLast_writes_word
- NLAlib.length_hessenbergReduceLastSlots
- NLAlib.reduceLastStep
- NLAlib.reduceLastStepEntry
- NLAlib.reduceLastStepEntry_plane
- NLAlib.reduceLastStepWord
- NLAlib.reduceLastStep_writes_word
- NLAlib.sqrt_norm_sq_add_norm_sq_le_specNorm