NLA-lib Explorer

Hessenberg and tridiagonal form

Library · Source module

Hessenberg and tridiagonal form

A matrix indexed by Fin is upper Hessenberg if it vanishes below the first subdiagonal, and tridiagonal if it vanishes outside the three central diagonals. Every square matrix is unitarily similar to an upper Hessenberg matrix, and every Hermitian matrix to a tridiagonal one, by a unitary matrix that fixes the first coordinate vector. The QR iteration preserves both forms, and an unreduced Hessenberg form is determined by the first column of the unitary factor up to unimodular scaling (the implicit Q theorem).

The Hessenberg predicate is stated for rectangular matrices, since the Arnoldi process produces (k + 1) \times k Hessenberg matrices.

Main definitions

* NLAlib.IsUpperHessenberg, NLAlib.IsTridiagonal. * NLAlib.upperHessenbergPart: retain the upper Hessenberg entries and zero the rest.

Main results

* NLAlib.hessenbergReduction, NLAlib.isUpperHessenberg_hessenbergReduction_snd: reduction by Householder similarities and the shape of its output. * NLAlib.exists_isUpperHessenberg_conjTranspose_mul_mul: reduction to Hessenberg form. * Matrix.IsHermitian.exists_isTridiagonal_conjTranspose_mul_mul: reduction to tridiagonal form. * NLAlib.IsUpperHessenberg.exists_isQR: a Hessenberg matrix has a QR factorization with Hessenberg \mathbf{Q}, so \mathbf{R}\mathbf{Q} is again Hessenberg. * NLAlib.HasOrthonormalCols.exists_eq_mul_diagonal_of_isUpperHessenberg: the implicit Q theorem.

Declarations