SRC/zgeev.f(3)
Okay bestie, welcome to SRC/zgeev.f from the Library Functions Manual β this page is all about ZGEEV, and it's lowkey iconic. π
β¨
πΈ NAME πΈ
SRC/zgeev.f β that's the file, no cap.
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine zgeev (jobvl, jobvr, n, a, lda, w, vl, ldvl, vr, ldvr, work, lwork, rwork, info)β ZGEEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for GE matrices
π Function/Subroutine Documentation π
π subroutine zgeev π
subroutine zgeev (character jobvl, character jobvr, integer n, complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension( * ) w, complex*16, dimension( ldvl, * ) vl, integer ldvl, complex*16, dimension( ldvr, * ) vr, integer ldvr, complex*16, dimension( * ) work, integer lwork, double precision, dimension( * ) rwork, integer info)
ZGEEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for GE matrices. π¦
π Purpose π
Bestie, here's the whole vibe: ZGEEV computes for an N-by-N complex nonsymmetric matrix A, the eigenvalues and, optionally, the left and/or right eigenvectors. π₯
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. Periodt. π
π Parameters π
JOBVLβJOBVL is CHARACTER*1= 'N': left eigenvectors of A are not computed;= 'V': left eigenvectors of are computed.
JOBVRβJOBVR is CHARACTER*1= 'N': right eigenvectors of A are not computed;= 'V': right eigenvectors of A are computed.
NβN is INTEGER. The order of the matrix A.N >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). On entry, the N-by-N matrix A. On exit, A has been overwritten.LDAβLDA is INTEGER. The leading dimension of the array A.LDA >= max(1,N).WβW is COMPLEX*16 array, dimension (N). W contains the computed eigenvalues.VLβVL is COMPLEX*16 array, dimension (LDVL,N). IfJOBVL = 'V', the left eigenvectorsu(j)are stored one after another in the columns of VL, in the same order as their eigenvalues. IfJOBVL = 'N', VL is not referenced.u(j) = VL(:,j), the j-th column of VL.LDVLβLDVL is INTEGER. The leading dimension of the array VL.LDVL >= 1; if JOBVL = 'V', LDVL >= N.VRβVR is COMPLEX*16 array, dimension (LDVR,N). IfJOBVR = 'V', the right eigenvectorsv(j)are stored one after another in the columns of VR, in the same order as their eigenvalues. IfJOBVR = 'N', VR is not referenced.v(j) = VR(:,j), the j-th column of VR.LDVRβLDVR is INTEGER. The leading dimension of the array VR.LDVR >= 1; if JOBVR = 'V', LDVR >= N.WORKβWORK is COMPLEX*16 array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimal LWORK.LWORKβLWORK is INTEGER. The dimension of the array WORK.LWORK >= max(1,2*N). For good performance, LWORK must generally be larger. IfLWORK = -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βRWORK is DOUBLE PRECISION array, dimension (2*N)INFOβINFO is INTEGER= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value.> 0: if INFO = i, the QR algorithm failed to compute all the eigenvalues, and no eigenvectors have been computed; elements i+1:N of W contain eigenvalues which have converged.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 178 of file zgeev.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Later, bestie β this was LAPACK Version 3.12.0, page SRC/zgeev.f(3), mwah ππ
π¦ 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