Basic Examples (2) 
Find the Gaussian Hessenberg decomposition of a 4×4 matrix:
The matrix h is an upper Hessenberg matrix:
Scope (6) 
The Gaussian Hessenberg decomposition for a complex matrix:
The Gaussian Hessenberg decomposition for a numeric matrix:
The Gaussian Hessenberg decomposition for a matrix with entries having 24digit precision:
The Gaussian Hessenberg decomposition for a symbolic matrix:
The Gaussian Hessenberg-triangular decomposition for an exact matrix pencil:
The Gaussian Hessenberg-triangular decomposition for a numeric matrix pencil:
Properties and Relations (3) 
A 4×4 matrix:
Compute its Gaussian Hessenberg decomposition:
The matrix h is upper Hessenberg:
The original matrix m is given by p.h.Inverse[p]:
A pair of 4×4 matrices:
Compute the Gaussian Hessenberg-triangular decomposition of the corresponding pencil:
The matrix h is upper Hessenberg:
The matrix t is upper triangular:
The matrix m is given by q.h.p:
The matrix a is given by q.t.p:
GaussianHessenbergDecomposition gives a different result from the built-in HessenbergDecomposition:
Both decompositions yield upper Hessenberg matrices that are similar to the original matrix:
HessenbergDecomposition yields a unitary transformation matrix, while GaussianHessenbergDecomposition does not: