DGEEVX(3)
okay so bestie, welcome to DGEEVX(3) from the Library Functions Manual β¨ this is the whole vibe, no cap.
π NAME π
the main character here is the source file at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dgeevx.f β thatβs literally the whole NAME section, periodt. π
β¨ SYNOPSIS β¨
π« Functions/Subroutines π«
subroutine DGEEVX (balanc, jobvl, jobvr, sense, n, a, lda, wr, wi, vl,
ldvl, vr, ldvr, ilo, ihi, scale, abnrm, rconde, rcondv, work, lwork,
iwork, info)
DGEEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for GE matrices π¦
π Function/Subroutine Documentation π
subroutine DGEEVX (character balanc, character jobvl, character jobvr,
character sense, integer n, double precision, dimension( lda, * ) a,
integer lda, double precision, dimension( * ) wr, double precision,
dimension( * ) wi, double precision, dimension( ldvl, * ) vl, integer
ldvl, double precision, dimension( ldvr, * ) vr, integer ldvr, integer
ilo, integer ihi, double precision, dimension( * ) scale, double
precision abnrm, double precision, dimension( * ) rconde, double
precision, dimension( * ) rcondv, double precision, dimension( * ) work,
integer lwork, integer, dimension( * ) iwork, integer info)
DGEEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for GE matrices π
πΈ Purpose πΈ
okay so DGEEVX computes, for an N-by-N real nonsymmetric matrix A, the eigenvalues and, optionally, the left and/or right eigenvectors. iconic. π
Optionally also, it computes a balancing transformation to improve the conditioning of the eigenvalues and eigenvectors (ILO, IHI, SCALE, and ABNRM), reciprocal condition numbers for the eigenvalues (RCONDE), and reciprocal condition numbers for the right eigenvectors (RCONDV).
The right eigenvector v(j) of A satisfies
A * v(j) = lambda(j) * v(j)
where lambda(j) is its eigenvalue. The left eigenvector u(j) of A satisfies
u(j)**H * A = lambda(j) * u(j)**H
where u(j)**H denotes the conjugate-transpose of u(j).
The computed eigenvectors are normalized to have Euclidean norm equal to 1 and largest component real. slay. π
Balancing a matrix means permuting the rows and columns to make it more nearly upper triangular, and applying a diagonal similarity transformation D * A * D**(-1), where D is a diagonal matrix, to make its rows and columns closer in norm and the condition numbers of its eigenvalues and eigenvectors smaller. The computed reciprocal condition numbers correspond to the balanced matrix. Permuting rows and columns will not change the condition numbers (in exact arithmetic) but diagonal scaling will. For further explanation of balancing, see section 4.10.2 of the LAPACK Users' Guide. π
π¦ Parameters π¦
BALANCβBALANC is CHARACTER*1. It indicates how the input matrix should be diagonally scaled and/or permuted to improve the conditioning of its eigenvalues.= 'N':Do not diagonally scale or permute;= 'P':Perform permutations to make the matrix more nearly upper triangular. Do not diagonally scale;= 'S':Diagonally scale the matrix, i.e. replaceAbyD*A*D**(-1), whereDis a diagonal matrix chosen to make the rows and columns ofAmore equal in norm. Do not permute;= 'B':Both diagonally scale and permuteA.
Computed reciprocal condition numbers will be for the matrix after balancing and/or permuting. Permuting does not change condition numbers (in exact arithmetic), but balancing does.
JOBVLβJOBVL is CHARACTER*1.= 'N':left eigenvectors ofAare not computed;= 'V':left eigenvectors ofAare computed.
If SENSE = 'E' or 'B', JOBVL must = 'V'.
JOBVRβJOBVR is CHARACTER*1.= 'N':right eigenvectors ofAare not computed;= 'V':right eigenvectors ofAare computed.
If SENSE = 'E' or 'B', JOBVR must = 'V'.
SENSEβSENSE is CHARACTER*1. It determines which reciprocal condition numbers are computed.= 'N':None are computed;= 'E':Computed for eigenvalues only;= 'V':Computed for right eigenvectors only;= 'B':Computed for eigenvalues and right eigenvectors.
If SENSE = 'E' or 'B', both left and right eigenvectors must also be computed (JOBVL = 'V' and JOBVR = 'V').
NβN is INTEGER. The order of the matrixA.N >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry, theN-by-NmatrixA. On exit,Ahas been overwritten. IfJOBVL = 'V'orJOBVR = 'V',Acontains the real Schur form of the balanced version of the input matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).WRβWR is DOUBLE PRECISION array, dimension (N).WIβWI is DOUBLE PRECISION array, dimension (N).WRandWIcontain the real and imaginary parts, respectively, of the computed eigenvalues. Complex conjugate pairs of eigenvalues will appear consecutively with the eigenvalue having the positive imaginary part first.VLβVL is DOUBLE PRECISION array, dimension (LDVL,N). IfJOBVL = 'V', the left eigenvectorsu(j)are stored one after another in the columns ofVL, in the same order as their eigenvalues. IfJOBVL = 'N',VLis not referenced. If thej-th eigenvalue is real, thenu(j) = VL(:,j), thej-th column ofVL. If thej-th and(j+1)-st eigenvalues form a complex conjugate pair, thenu(j) = VL(:,j) + i*VL(:,j+1)andu(j+1) = VL(:,j) - i*VL(:,j+1).LDVLβLDVL is INTEGER. The leading dimension of the arrayVL.LDVL >= 1; ifJOBVL = 'V',LDVL >= N.VRβVR is DOUBLE PRECISION array, dimension (LDVR,N). IfJOBVR = 'V', the right eigenvectorsv(j)are stored one after another in the columns ofVR, in the same order as their eigenvalues. IfJOBVR = 'N',VRis not referenced. If thej-th eigenvalue is real, thenv(j) = VR(:,j), thej-th column ofVR. If thej-th and(j+1)-st eigenvalues form a complex conjugate pair, thenv(j) = VR(:,j) + i*VR(:,j+1)andv(j+1) = VR(:,j) - i*VR(:,j+1).LDVRβLDVR is INTEGER. The leading dimension of the arrayVR.LDVR >= 1, and ifJOBVR = 'V',LDVR >= N.ILOβILO is INTEGER.IHIβIHI is INTEGER.ILOandIHIare integer values determined whenAwas balanced. The balancedA(i,j) = 0ifI > JandJ = 1,...,ILO-1orI = IHI+1,...,N.SCALEβSCALE is DOUBLE PRECISION array, dimension (N). Details of the permutations and scaling factors applied when balancingA. IfP(j)is the index of the row and column interchanged with row and columnj, andD(j)is the scaling factor applied to row and columnj, then
SCALE(J) = P(J), for J = 1,...,ILO-1
= D(J), for J = ILO,...,IHI
= P(J) for J = IHI+1,...,N.
The order in which the interchanges are made is N to IHI+1, then 1 to ILO-1.
ABNRMβABNRM is DOUBLE PRECISION. The one-norm of the balanced matrix (the maximum of the sum of absolute values of elements of any column).RCONDEβRCONDE is DOUBLE PRECISION array, dimension (N).RCONDE(j)is the reciprocal condition number of thej-th eigenvalue.RCONDVβRCONDV is DOUBLE PRECISION array, dimension (N).RCONDV(j)is the reciprocal condition number of thej-th right eigenvector.WORKβWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER. The dimension of the arrayWORK. IfSENSE = 'N'or'E',LWORK >= max(1,2*N), and ifJOBVL = 'V'orJOBVR = 'V',LWORK >= 3*N. IfSENSE = 'V'or'B',LWORK >= N*(N+6). For good performance,LWORKmust generally be larger.
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.
IWORKβIWORK is INTEGER array, dimension (2*N-2). IfSENSE = 'N'or'E', not referenced.INFOβINFO is INTEGER.= 0:successful exit< 0:ifINFO = -i, thei-th argument had an illegal value.> 0:ifINFO = i, the QR algorithm failed to compute all the eigenvalues, and no eigenvectors or condition numbers have been computed; elements1:ILO-1andi+1:NofWRandWIcontain eigenvalues which have converged.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 303 of file dgeevx.f.
π AUTHOR π
okay so nobody wrote this page by hand, bestie β it's generated automatically by Doxygen for LAPACK from the source code. π So the "author" is really just... the source code itself, living its main character life, with Doxygen doing the grunt work and turning it into this gorgeous little document for you. π No mysterious human to thank, no lonely midnight typist β just automation, slaying quietly in the background. β¨
π«Ά fr fr, if you're citing this, cite LAPACK β not the robot that formatted it.
and that's the whole vibe check, babe. π this page came from dgeevx.f β like, that exact file β and it's serving LAPACK Version 3.12.0 energy, shipped out on the date stamped in the footer of your build. πΈ so go forth, call your DGEEVX, read those reciprocal condition numbers, and remember: the docs were auto-generated, but the love is real. ππ¦π§
β xoxo, your local LAPACK girlie π
π¦ 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