CGEESX(3)
π CGEESX(3) β Library Functions Manual π
okay bestie, welcome to the cgeesx.f manual page. itβs giving LAPACK main character energy, and weβre gonna go through every single flag like itβs a group chat. no cap. β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cgeesx.f
thatβs the file, thatβs the name, and yes itβs literally a whole path. slay. π
π SYNOPSIS π
β¨ Functions/Subroutines β¨
subroutine CGEESX (jobvs, sort, select, sense, n, a, lda, sdim, w, vs,
ldvs, rconde, rcondv, work, lwork, rwork, bwork, info)
CGEESX computes the eigenvalues, the Schur form, and, optionally, the matrix of Schur vectors for GE matrices π¦
π¦ Function/Subroutine Documentation π¦
subroutine CGEESX (character jobvs, character sort, external select,
character sense, integer n, complex, dimension( lda, * ) a, integer lda,
integer sdim, complex, dimension( * ) w, complex, dimension( ldvs, * )
vs, integer ldvs, real rconde, real rcondv, complex, dimension( * )
work, integer lwork, real, dimension( * ) rwork, logical, dimension( * )
bwork, integer info)
CGEESX computes the eigenvalues, the Schur form, and, optionally, the matrix of Schur vectors for GE matrices π
π Purpose π
okay so CGEESX computes, for an N-by-N complex nonsymmetric matrix A, the eigenvalues, the Schur form T, and, optionally, the matrix of Schur vectors Z. this gives the Schur factorization A = Z*T*(Z**H). iconic. π
optionally, it also orders the eigenvalues on the diagonal of the Schur form so that selected eigenvalues are at the top left; computes a reciprocal condition number for the average of the selected eigenvalues (RCONDE); and computes a reciprocal condition number for the right invariant subspace corresponding to the selected eigenvalues (RCONDV). the leading columns of Z form an orthonormal basis for this invariant subspace. the way that all fits together is lowkey beautiful. π«Ά
for further explanation of the reciprocal condition numbers RCONDE and RCONDV, see Section 4.10 of the LAPACK Usersβ Guide (where these quantities are called s and sep respectively).
a complex matrix is in Schur form if it is upper triangular. periodt. π
π₯ Parameters π₯
πΉ JOBVS
JOBVSisCHARACTER*1= 'N'β Schur vectors are not computed;= 'V'β Schur vectors are computed.
πΉ SORT
SORTisCHARACTER*1- Specifies whether or not to order the eigenvalues on the diagonal of the Schur form.
= 'N'β Eigenvalues are not ordered;= 'S'β Eigenvalues are ordered (seeSELECT).
πΉ SELECT
SELECTis aLOGICAL FUNCTIONof oneCOMPLEXargumentSELECTmust be declaredEXTERNALin the calling subroutine.- If
SORT = 'S',SELECTis used to select eigenvalues to order to the top left of the Schur form. - If
SORT = 'N',SELECTis not referenced. - An eigenvalue
W(j)is selected ifSELECT(W(j))is true.
πΉ SENSE
SENSEisCHARACTER*1- Determines which reciprocal condition numbers are computed.
= 'N'β None are computed;= 'E'β Computed for average of selected eigenvalues only;= 'V'β Computed for selected right invariant subspace only;= 'B'β Computed for both.- If
SENSE = 'E','V'or'B',SORTmust equal'S'. bestie, thatβs not optional. π
πΉ N
NisINTEGER- The order of the matrix
A.N >= 0.
πΉ A
AisCOMPLEX array, dimension(LDA, N)- On entry, the
N-by-NmatrixA. - On exit,
Ais overwritten by its Schur formT.
πΉ LDA
LDAisINTEGER- The leading dimension of the array
A.LDA >= max(1,N).
πΉ SDIM
SDIMisINTEGER- If
SORT = 'N',SDIM = 0. - If
SORT = 'S',SDIM = number of eigenvalues for which SELECT is true.
πΉ W
WisCOMPLEX array, dimension(N)Wcontains the computed eigenvalues, in the same order that they appear on the diagonal of the output Schur formT.
πΉ VS
VSisCOMPLEX array, dimension(LDVS,N)- If
JOBVS = 'V',VScontains the unitary matrixZof Schur vectors. - If
JOBVS = 'N',VSis not referenced.
πΉ LDVS
LDVSisINTEGER- The leading dimension of the array
VS.LDVS >= 1, and ifJOBVS = 'V',LDVS >= N.
πΉ RCONDE
RCONDEisREAL- If
SENSE = 'E'or'B',RCONDEcontains the reciprocal condition number for the average of the selected eigenvalues. - Not referenced if
SENSE = 'N'or'V'.
πΉ RCONDV
RCONDVisREAL- If
SENSE = 'V'or'B',RCONDVcontains the reciprocal condition number for the selected right invariant subspace. - Not referenced if
SENSE = 'N'or'E'.
πΉ WORK
WORKisCOMPLEX array, dimension(MAX(1,LWORK))- On exit, if
INFO = 0,WORK(1)returns the optimalLWORK.
πΉ LWORK
LWORKisINTEGER- The dimension of the array
WORK.LWORK >= max(1,2*N). - Also, if
SENSE = 'E'or'V'or'B',LWORK >= 2*SDIM*(N-SDIM), whereSDIMis the number of selected eigenvalues computed by this routine. - Note that
2*SDIM*(N-SDIM) <= N*N/2. Note also that an error is only returned ifLWORK < max(1,2*N), but ifSENSE = 'E'or'V'or'B'this may not be large enough. - For good performance,
LWORKmust generally be larger. - If
LWORK = -1, then a workspace query is assumed; the routine only calculates upper bound on the optimal size of the arrayWORK, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.
bestie,LWORK = -1is the workspace-query vibe, not a regular size. donβt panic, just read the first entry ofWORK. π«Ά
πΉ RWORK
RWORKisREAL array, dimension(N)
πΉ BWORK
BWORKisLOGICAL array, dimension(N)- Not referenced if
SORT = 'N'.
πΉ INFO
INFOisINTEGER= 0β successful exit< 0β ifINFO = -i, thei-th argument had an illegal value.> 0β ifINFO = i, andiis<= Nβ the QR algorithm failed to compute all the eigenvalues; elements1:ILO-1andi+1:NofWcontain those eigenvalues which have converged; ifJOBVS = 'V',VScontains the transformation which reducesAto its partially converged Schur form.= N+1β the eigenvalues could not be reordered because some eigenvalues were too close to separate (the problem is very ill-conditioned);= N+2β after reordering, roundoff changed values of some complex eigenvalues so that leading eigenvalues in the Schur form no longer satisfySELECT=.TRUE.This could also be caused by underflow due to scaling.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 236 of file cgeesx.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
xoxo, LAPACK π β footer vibes: LAPACK, Version 3.12.0, /home/abui...RC/cgeesx.f(3), and no date in this footer, bestie. periodt. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms