SRC/DEPRECATED/zgegs.f(3)
π SRC/DEPRECATED/zgegs.f π
okay so bestie, this is the SRC/DEPRECATED/zgegs.f page from the Library Functions Manual, and it's giving deprecated-but-still-doing-the-most LAPACK energy. β¨
πΈ NAME πΈ
SRC/DEPRECATED/zgegs.f β the page for the zgegs subroutine. That's it, that's the name. π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zgegs (jobvsl, jobvsr, n, a, lda, b, ldb, alpha, beta, vsl,
ldvsl, vsr, ldvsr, work, lwork, rwork, info)
ZGEGS computes the eigenvalues, Schur form, and, optionally, the left and or/right Schur vectors of a complex matrix pair (A,B). π
π¦ Function/Subroutine Documentation π¦
π subroutine zgegs π
subroutine zgegs (character jobvsl, character jobvsr, integer n, complex*16,
dimension( lda, * ) a, integer lda, complex*16, dimension( ldb, * ) b,
integer ldb, complex*16, dimension( * ) alpha, complex*16, dimension( *
) beta, complex*16, dimension( ldvsl, * ) vsl, integer ldvsl,
complex*16, dimension( ldvsr, * ) vsr, integer ldvsr, complex*16,
dimension( * ) work, integer lwork, double precision, dimension( * )
rwork, integer info)
ZGEGS computes the eigenvalues, Schur form, and, optionally, the left and or/right Schur vectors of a complex matrix pair (A,B). π
π§ Purpose π§
β οΈ Deprecation notice, bestie: this routine is deprecated and has been replaced by routine ZGGES. Like, it still works, but it's not the main character anymore. π
ZGEGS computes the eigenvalues, Schur form, and, optionally, the left and or/right Schur vectors of a complex matrix pair (A,B). Given two square matrices A and B, the generalized Schur factorization has the form:
A = Q*S*Z**H, B = Q*T*Z**H
where Q and Z are unitary matrices and S and T are upper triangular. The columns of Q are the left Schur vectors and the columns of Z are the right Schur vectors. π
If only the eigenvalues of (A,B) are needed, the driver routine ZGEGV should be used instead. See ZGEGV for a description of the eigenvalues of the generalized nonsymmetric eigenvalue problem (GNEP). π
πΈ Parameters πΈ
JOBVSLβ isCHARACTER*1.= 'N':do not compute the left Schur vectors;= 'V':compute the left Schur vectors (returned inVSL). πJOBVSRβ isCHARACTER*1.= 'N':do not compute the right Schur vectors;= 'V':compute the right Schur vectors (returned inVSR). πNβ isINTEGER. The order of the matricesA,B,VSL, andVSR.N >= 0. β¨Aβ isCOMPLEX*16array, dimension(LDA, N). On entry, the matrixA. On exit, the upper triangular matrixSfrom the generalized Schur factorization. π¦LDAβ isINTEGER. The leading dimension ofA.LDA >= max(1,N). πBβ isCOMPLEX*16array, dimension(LDB, N). On entry, the matrixB. On exit, the upper triangular matrixTfrom the generalized Schur factorization. π¦LDBβ isINTEGER. The leading dimension ofB.LDB >= max(1,N). πALPHAβ isCOMPLEX*16array, dimension(N). The complex scalars alpha that define the eigenvalues of GNEP.ALPHA(j) = S(j,j), the diagonal element of the Schur form ofA. πBETAβ isCOMPLEX*16array, dimension(N). The non-negative real scalars beta that define the eigenvalues of GNEP.BETA(j) = T(j,j), the diagonal element of the triangular factorT. π
Together, the quantities alpha = ALPHA(j) and beta = BETA(j) represent the j-th eigenvalue of the matrix pair (A,B), in one of the forms lambda = alpha/beta or mu = beta/alpha. Since either lambda or mu may overflow, they should not, in general, be computed. π
VSLβ isCOMPLEX*16array, dimension(LDVSL,N). IfJOBVSL = 'V', the matrix of left Schur vectorsQ. Not referenced ifJOBVSL = 'N'. πLDVSLβ isINTEGER. The leading dimension of the matrixVSL.LDVSL >= 1, and ifJOBVSL = 'V',LDVSL >= N. πVSRβ isCOMPLEX*16array, dimension(LDVSR,N). IfJOBVSR = 'V', the matrix of right Schur vectorsZ. Not referenced ifJOBVSR = 'N'. πLDVSRβ isINTEGER. The leading dimension of the matrixVSR.LDVSR >= 1, and ifJOBVSR = 'V',LDVSR >= N. πWORKβ isCOMPLEX*16array, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. π₯LWORKβ isINTEGER. The dimension of the arrayWORK.LWORK >= max(1,2*N). For good performance,LWORKmust generally be larger. To compute the optimal value ofLWORK, callILAENVto get blocksizes (forZGEQRF,ZUNMQR, andCUNGQR.) Then compute:NB-- MAX of the blocksizes forZGEQRF,ZUNMQR, andCUNGQR; the optimalLWORKisN*(NB+1). π₯
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. π«Ά
RWORKβ isDOUBLE PRECISIONarray, dimension(3*N). πΈINFOβ isINTEGER. πΈ= 0:successful exit. β< 0:ifINFO = -i, the i-th argument had an illegal value. π=1,...,N:The QZ iteration failed.(A,B)are not in Schur form, butALPHA(j)andBETA(j)should be correct forj=INFO+1,...,N. π> N:errors that usually indicate LAPACK problems:=N+1:error return fromZGGBAL=N+2:error return fromZGEQRF=N+3:error return fromZUNMQR=N+4:error return fromZUNGQR=N+5:error return fromZGGHRD=N+6:error return fromZHGEQZ(other than failed iteration)=N+7:error return fromZGGBAK(computingVSL)=N+8:error return fromZGGBAK(computingVSR)=N+9:error return fromZLASCL(various places) π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 222 of file zgegs.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. β¨
Bestie, that's the whole page: LAPACK Version 3.12.0, SRC/DEPRECATED/zgegs.f(3), footer vibes and all. No date line in the footer, so don't come for me β this is the source/version sign-off, periodt. π
π«Ά
π¦ 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