The real Schur factorization of
is given by
where
, the matrix of Schur vectors, is orthogonal and
is the real Schur form. A matrix is in real Schur form if it is upper quasi-triangular with
by
and
by
blocks.
by
blocks will be standardized in the form
where
. The eigenvalues of such a block are
.
Optionally, nag_dgees (f08pac) also orders the eigenvalues on the diagonal of the real Schur form so that selected eigenvalues are at the top left. The leading columns of form an orthonormal basis for the invariant subspace corresponding to the selected eigenvalues.
Anderson E, Bai Z, Bischof C, Blackford S, Demmel J, Dongarra J J, Du Croz J J, Greenbaum A, Hammarling S, McKenney A and Sorensen D (1999)
LAPACK Users' Guide (3rd Edition) SIAM, Philadelphia
http://www.netlib.org/lapack/lug
- NE_ALLOC_FAIL
Dynamic memory allocation failed.
- NE_BAD_PARAM
On entry, argument had an illegal value.
- NE_CONVERGENCE
The algorithm failed to compute all the eigenvalues.
- NE_ENUM_INT_2
On entry, , and .
Constraint: if , ;
otherwise .
- NE_INT
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
- NE_INT_2
On entry, and .
Constraint: .
- 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.
- NE_SCHUR_REORDER
The eigenvalues could not be reordered because some eigenvalues were too close to separate (the problem is very ill-conditioned).
- NE_SCHUR_REORDER_SELECT
After reordering, roundoff changed values of some complex eigenvalues so that leading eigenvalues in the Schur form no longer satisfy . This could also be caused by underflow due to scaling.
The computed Schur factorization satisfies
where
and
is the
machine precision. See Section 4.8 of
Anderson et al. (1999) for further details.
The complex analogue of this function is
nag_zgees (f08pnc).
This example finds the Schur factorization of the matrix
such that the real eigenvalues of
are the top left diagonal elements of the Schur form,
.