Compute Hessenberg form of a matrix.
The Hessenberg decomposition is
A = Q H Q^H
where Q is unitary/orthogonal and H has only zero elements below the first subdiagonal.
Parameters: | a : array, shape (M,M)
calc_q : boolean
overwrite_a : boolean
|
---|---|
Returns: | H : array, shape (M,M)
(If calc_q == True) : Q : array, shape (M,M)
|