/home/abui...RC/cgees.f(3)
π NAME π
okay bestie, this is the Library Functions Manual page for /home/abui...RC/cgees.f(3) β and the NAME section points at this exact source file, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cgees.f
β¨ SYNOPSIS β¨
Functions/Subroutines
slay, here's the call shape:
subroutine CGEES (jobvs, sort, select, n, a, lda, sdim, w, vs, ldvs,
work, lwork, rwork, bwork, info)
and the one-liner is: CGEES computes the eigenvalues, the Schur form, and, optionally, the matrix of Schur vectors for GE matrices π
π¦ Function/Subroutine Documentation π¦
subroutine CGEES (character jobvs, character sort, external select, integer
n, complex, dimension( lda, * ) a, integer lda, integer sdim, complex,
dimension( * ) w, complex, dimension( ldvs, * ) vs, integer ldvs,
complex, dimension( * ) work, integer lwork, real, dimension( * ) rwork,
logical, dimension( * ) bwork, integer info)
CGEES computes the eigenvalues, the Schur form, and, optionally, the matrix of Schur vectors for GE matrices π
π Purpose π
okay so here's the tea β: CGEES 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).
Optionally, it also orders the eigenvalues on the diagonal of the Schur form so that selected eigenvalues are at the top left. The leading columns of Z then form an orthonormal basis for the invariant subspace corresponding to the selected eigenvalues.
A complex matrix is in Schur form if it is upper triangular. Periodt. π
πΈ Parameters πΈ
bestie, every single parameter is here, no skipping:
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. - The eigenvalue
W(j)is selected ifSELECT(W(j))is true.
N
NisINTEGER- The order of the matrix
A.N >= 0.
A
AisCOMPLEX array, dimension (LDA,N)- On entry, the N-by-N matrix
A. - On exit,
Ahas been 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; ifJOBVS = 'V',LDVS >= N.
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). - For good performance,
LWORKmust generally be larger. - If
LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.
RWORK
RWORKisREAL array, dimension (N)
BWORK
BWORKisLOGICAL array, dimension (N)- Not referenced if
SORT = 'N'.
INFO
INFOisINTEGER= 0: successful exit< 0: ifINFO = -i, the i-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 matrix 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 195 of file cgees.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page, bestie! The footer says LAPACK, Version 3.12.0, and the source path /home/abui...RC/cgees.f(3) β mwah πβ¨
π¦ 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