F08YTF (ZTGEXC) reorders the generalized Schur factorization of a complex matrix pair in generalized Schur form.
SUBROUTINE F08YTF ( |
WANTQ, WANTZ, N, A, LDA, B, LDB, Q, LDQ, Z, LDZ, IFST, ILST, INFO) |
INTEGER |
N, LDA, LDB, LDQ, LDZ, IFST, ILST, INFO |
COMPLEX (KIND=nag_wp) |
A(LDA,*), B(LDB,*), Q(LDQ,*), Z(LDZ,*) |
LOGICAL |
WANTQ, WANTZ |
|
F08YTF (ZTGEXC) reorders the generalized complex
by
matrix pair
in generalized Schur form, so that the diagonal element of
with row index
is moved to row
, using a unitary equivalence transformation. That is,
and
are factorized as
where
are also in generalized Schur form.
The pair
are in generalized Schur form if
and
are upper triangular as returned, for example, by
F08XNF (ZGGES), or
F08XSF (ZHGEQZ) with
.
If
and
are the result of a generalized Schur factorization of a matrix pair
then, optionally, the matrices
and
can be updated as
and
.
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
The computed generalized Schur form is nearly the exact generalized Schur form for nearby matrices
and
, where
and
is the
machine precision. See Section 4.11 of
Anderson et al. (1999) for further details of error bounds for the generalized nonsymmetric eigenproblem.
Not applicable.
The real analogue of this routine is
F08YFF (DTGEXC).
This example exchanges rows 4 and 1 of the matrix pair
, where
and