Note: before using this routine, please read the Users' Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent details.
The routine may be called by its
LAPACK
name ztrexc.
3 Description
F08QTF (ZTREXC) reorders the Schur factorization of a complex general matrix , so that the diagonal element of with row index IFST is moved to row ILST.
The reordered Schur form is computed by a unitary similarity transformation: . Optionally the updated matrix of Schur vectors is computed as , giving .
4 References
Golub G H and Van Loan C F (1996) Matrix Computations (3rd Edition) Johns Hopkins University Press, Baltimore
5 Parameters
1: COMPQ – CHARACTER(1)Input
On entry: indicates whether the matrix of Schur vectors is to be updated.
On entry: the first dimension of the array Q as declared in the (sub)program from which F08QTF (ZTREXC) is called.
Constraints:
if , ;
if , .
7: IFST – INTEGERInput
8: ILST – INTEGERInput
On entry: IFST and ILST must specify the reordering of the diagonal elements of . The element with row index IFST is moved to row ILST by a sequence of exchanges between adjacent elements.
Constraint:
and .
9: INFO – INTEGEROutput
On exit: unless the routine detects an error (see Section 6).
6 Error Indicators and Warnings
If , argument had an illegal value. An explanatory message is output, and execution of the program is terminated.
7 Accuracy
The computed matrix is exactly similar to a matrix , where
and is the machine precision.
The values of the eigenvalues are never changed by the reordering.
8 Further Comments
The total number of real floating point operations is approximately if , and if , where .