SLAEXC (3)  Linux Man Pages
NAME
slaexc.f 
SYNOPSIS
Functions/Subroutines
subroutine slaexc (WANTQ, N, T, LDT, Q, LDQ, J1, N1, N2, WORK, INFO)
SLAEXC swaps adjacent diagonal blocks of a real upper quasitriangular matrix in Schur canonical form, by an orthogonal similarity transformation.
Function/Subroutine Documentation
subroutine slaexc (logicalWANTQ, integerN, real, dimension( ldt, * )T, integerLDT, real, dimension( ldq, * )Q, integerLDQ, integerJ1, integerN1, integerN2, real, dimension( * )WORK, integerINFO)
SLAEXC swaps adjacent diagonal blocks of a real upper quasitriangular matrix in Schur canonical form, by an orthogonal similarity transformation.
Purpose:

SLAEXC swaps adjacent diagonal blocks T11 and T22 of order 1 or 2 in an upper quasitriangular matrix T by an orthogonal similarity transformation. T must be in Schur canonical form, that is, block upper triangular with 1by1 and 2by2 diagonal blocks; each 2by2 diagonal block has its diagonal elemnts equal and its offdiagonal elements of opposite sign.
Parameters:

WANTQ
WANTQ is LOGICAL = .TRUE. : accumulate the transformation in the matrix Q; = .FALSE.: do not accumulate the transformation.
NN is INTEGER The order of the matrix T. N >= 0.
TT is REAL array, dimension (LDT,N) On entry, the upper quasitriangular matrix T, in Schur canonical form. On exit, the updated matrix T, again in Schur canonical form.
LDTLDT is INTEGER The leading dimension of the array T. LDT >= max(1,N).
QQ is REAL array, dimension (LDQ,N) On entry, if WANTQ is .TRUE., the orthogonal matrix Q. On exit, if WANTQ is .TRUE., the updated matrix Q. If WANTQ is .FALSE., Q is not referenced.
LDQLDQ is INTEGER The leading dimension of the array Q. LDQ >= 1; and if WANTQ is .TRUE., LDQ >= N.
J1J1 is INTEGER The index of the first row of the first block T11.
N1N1 is INTEGER The order of the first block T11. N1 = 0, 1 or 2.
N2N2 is INTEGER The order of the second block T22. N2 = 0, 1 or 2.
WORKWORK is REAL array, dimension (N)
INFOINFO is INTEGER = 0: successful exit = 1: the transformed matrix T would be too far from Schur form; the blocks are not swapped and T and Q are unchanged.
Author:

Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
 September 2012
Definition at line 138 of file slaexc.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.