nag_dgghrd (f08wec) reduces a pair of real matrices
, where
is upper triangular, to the generalized upper Hessenberg form using orthogonal transformations. nag_dgghrd (f08wec) is marked as
deprecated by LAPACK; the replacement routine is
nag_dgghd3 (f08wfc) which makes better use of level 3 BLAS.
nag_dgghrd (f08wec) is the third step in the solution of the real generalized eigenvalue problem
The (optional) first step balances the two matrices using
nag_dggbal (f08whc). In the second step, matrix
is reduced to upper triangular form using the
factorization function
nag_dgeqrf (f08aec) and this orthogonal transformation
is applied to matrix
by calling
nag_dormqr (f08agc).
nag_dgghrd (f08wec) reduces a pair of real matrices
, where
is upper triangular, to the generalized upper Hessenberg form using orthogonal transformations. This two-sided transformation is of the form
where
is an upper Hessenberg matrix,
is an upper triangular matrix and
and
are orthogonal matrices determined as products of Givens rotations. They may either be formed explicitly, or they may be postmultiplied into input matrices
and
, so that
Moler C B and Stewart G W (1973) An algorithm for generalized matrix eigenproblems SIAM J. Numer. Anal. 10 241–256
- NE_ALLOC_FAIL
-
Dynamic memory allocation failed.
See
Section 2.3.1.2 in How to Use the NAG Library and its Documentation for further information.
- NE_BAD_PARAM
-
On entry, argument had an illegal value.
- NE_ENUM_INT_2
-
On entry, , and .
Constraint: if or , ;
if , .
On entry, , and .
Constraint: if or , ;
if , .
- NE_INT
-
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
- NE_INT_2
-
On entry, and .
Constraint: .
On entry, and .
Constraint: .
- NE_INT_3
-
On entry, , and .
Constraint: if , ;
if , and .
- NE_INTERNAL_ERROR
-
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact
NAG for assistance.
An unexpected error has been triggered by this function. Please contact
NAG.
See
Section 2.7.6 in How to Use the NAG Library and its Documentation for further information.
- NE_NO_LICENCE
-
Your licence key may have expired or may not have been installed correctly.
See
Section 2.7.5 in How to Use the NAG Library and its Documentation for further information.
The reduction to the generalized Hessenberg form is implemented using orthogonal transformations which are backward stable.
nag_dgghrd (f08wec) makes calls to BLAS and/or LAPACK routines, which may be threaded within the vendor library used by this implementation. Consult the documentation for the vendor library for further information.
Please consult the
x06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this function. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
This function is usually followed by
nag_dhgeqz (f08xec) which implements the
algorithm for computing generalized eigenvalues of a reduced pair of matrices.
The complex analogue of this function is
nag_zgghrd (f08wsc).