Swaps adjacent diagonal blocks of a real upper quasi-triangular matrix in Schur canonical form, by an orthogonal similarity transformation.
call slaexc( wantq, n, t, ldt, q, ldq, j1, n1, n2, work, info )
call dlaexc( wantq, n, t, ldt, q, ldq, j1, n1, n2, work, info )
The FORTRAN 77 interfaces are specified in the mkl_lapack.fi include file (to be used in Fortran programs) and in the mkl_lapack.h include file (to be used in C programs).
The routine swaps adjacent diagonal blocks T11 and T22 of order 1 or 2 in an upper quasi-triangular matrix T by an orthogonal similarity transformation.
T must be in Schur canonical form, that is, block upper triangular with 1-by-1 and 2-by-2 diagonal blocks; each 2-by-2 diagonal block has its diagonal elements equal and its off-diagonal elements of opposite sign.
LOGICAL.
If wantq = .TRUE., accumulate the transformation in the matrix Q;
If wantq = .FALSE., do not accumulate the transformation.
INTEGER. The order of the matrix T (n ≥ 0).
REAL for slaexc
DOUBLE PRECISION for dlaexc
Arrays:
t(ldt,*) contains on entry the upper quasi-triangular matrix T, in Schur canonical form.
The second dimension of t must be at least max(1, n).
q(ldq,*) contains on entry, if wantq = .TRUE., the orthogonal matrix Q. If wantq = .FALSE., q is not referenced. The second dimension of q must be at least max(1, n).
INTEGER. The leading dimension of t; at least max(1, n).
INTEGER. The leading dimension of q;
If wantq = .FALSE., then ldq ≥ 1.
If wantq = .TRUE., then ldq ≥ max(1,n).
INTEGER. The index of the first row of the first block T11.
INTEGER. The order of the first block T11
(n1 = 0, 1, or 2).
INTEGER. The order of the second block T22
(n2 = 0, 1, or 2).
REAL for slaexc;
DOUBLE PRECISION for dlaexc.
Workspace array, DIMENSION (n).
On exit, the updated matrix T, again in Schur canonical form.
On exit, if wantq = .TRUE., the updated matrix Q.
INTEGER.
If info = 0, the execution is successful.
If info = 1, the transformed matrix T would be too far from Schur form; the blocks are not swapped and T and Q are unchanged.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.