?lasorte
?lasorte
Sorts eigenpairs by real and complex data types.
Syntax
void
slasorte
(
float
*s
,
MKL_INT
*lds
,
MKL_INT
*j
,
float
*out
,
MKL_INT
*info
);
void
dlasorte
(
double
*s
,
MKL_INT
*lds
,
MKL_INT
*j
,
double
*out
,
MKL_INT
*info
);
Include Files
- mkl_scalapack.h
Description
The
?lasorte
function
sorts eigenpairs so that real eigenpairs are together and complex eigenpairs are together. This helps to employ 2x2 shifts easily since every second subdiagonal is guaranteed to be zero. This function
does no parallel work and makes no calls.Product and Performance Information
|
---|
Performance varies by use, configuration and other factors. Learn more at
www.Intel.com/PerformanceIndex.
Notice revision #20201201
|
Input Parameters
- s
- (local)Array of sizelds.On entry, a matrix already in Schur form.
- lds
- (local)On entry, the leading dimension of the arrays; unchanged on exit.
- j
- (local)On entry, the order of the matrixS; unchanged on exit.
- out
- (local)Array of size 2*j. The work buffer required by thefunction.
- info
- (local)Set, if the input matrix had an odd number of real eigenvalues and things could not be paired or if the input matrixSwas not originally in Schur form. 0 indicates successful completion.
Output Parameters
- s
- On exit, the diagonal blocks ofShave been rewritten to pair the eigenvalues. The resulting matrix is no longer similar to the input.
- out
- Work buffer.