SRC/zgees.f(3)
π SRC/zgees.f(3)
okay so this page is from the Library Functions Manual, and itβs literally the zgees glow-up page. Buckle up, bestie π«Ά
π NAME
SRC/zgees.f
β¨ SYNOPSIS
π οΈ Functions/Subroutines
subroutine zgees (jobvs, sort, select, n, a, lda, sdim, w, vs, ldvs,
work, lwork, rwork, bwork, info)
ZGEES computes the eigenvalues, the Schur form, and, optionally, the matrix of Schur vectors for GE matrices
π§ Function/Subroutine Documentation
subroutine zgees (character jobvs, character sort, external select, integer
n, complex*16, dimension( lda, * ) a, integer lda, integer sdim,
complex*16, dimension( * ) w, complex*16, dimension( ldvs, * ) vs,
integer ldvs, complex*16, dimension( * ) work, integer lwork, double
precision, dimension( * ) rwork, logical, dimension( * ) bwork, integer
info)
ZGEES computes the eigenvalues, the Schur form, and, optionally, the matrix of Schur vectors for GE matrices
π― Purpose:
okay so ZGEES 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. Slay, honestly π
π§Ύ Parameters
JOBVSβJOBVSisCHARACTER*1;= 'N': Schur vectors are not computed;= 'V': Schur vectors are computed.SORTβSORTisCHARACTER*1and 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 oneCOMPLEX*16argument.SELECTmust be declaredEXTERNALin the calling subroutine. IfSORT = 'S',SELECTis used to select eigenvalues to order to the top left of the Schur form.IF SORT = 'N',SELECTis not referenced. The eigenvalueW(j)is selected ifSELECT(W(j))is true.NβNisINTEGER; the order of the matrixA.N >= 0.AβAisCOMPLEX*16array, dimension(LDA,N). On entry, the N-by-N matrixA. On exit,Ahas been overwritten by its Schur formT.LDAβLDAisINTEGER; the leading dimension of the arrayA.LDA >= max(1,N).SDIMβSDIMisINTEGER. IfSORT = 'N',SDIM = 0. IfSORT = 'S',SDIM= number of eigenvalues for whichSELECTis true.WβWisCOMPLEX*16array, dimension(N).Wcontains the computed eigenvalues, in the same order that they appear on the diagonal of the output Schur formT.VSβVSisCOMPLEX*16array, dimension(LDVS,N). IfJOBVS = 'V',VScontains the unitary matrixZof Schur vectors. IfJOBVS = 'N',VSis not referenced.LDVSβLDVSisINTEGER; the leading dimension of the arrayVS.LDVS >= 1; ifJOBVS = 'V',LDVS >= N.WORKβWORKisCOMPLEX*16array, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER; the dimension of the arrayWORK.LWORK >= max(1,2*N). For good performance,LWORKmust generally be larger. IfLWORK = -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βRWORKisDOUBLE PRECISIONarray, dimension(N).BWORKβBWORKisLOGICALarray, dimension(N). Not referenced ifSORT = '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 TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
Definition at line 195 of file zgees.f.
πΈ Author
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, thatβs the whole page π
Sign-off: LAPACK, Version 3.12.0, source SRC/zgees.f(3) β the original footer doesnβt print a date, so Iβm not inventing one, no cap π«Άβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms