SRC/cheevd.f(3)
π NAME π
SRC/cheevd.f β okay bestie, welcome to the manual page for SRC/cheevd.f(3), living under the Library Functions Manual umbrella. This is the cheevd era, and it's giving major eigenvalue/eigenvector main-character energy. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine cheevd (jobz, uplo, n, a, lda, w, work, lwork, rwork, lrwork,
iwork, liwork, info)
CHEEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices. periodt. π
π¦ Function/Subroutine Documentation π¦
π subroutine cheevd π
subroutine cheevd (character jobz, character uplo, integer n, complex,
dimension( lda, * ) a, integer lda, real, dimension( * ) w, complex,
dimension( * ) work, integer lwork, real, dimension( * ) rwork, integer
lrwork, integer, dimension( * ) iwork, integer liwork, integer info)
CHEEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices.
πΈ Purpose πΈ
okay so the actual purpose is this: CHEEVD computes all eigenvalues and, optionally, eigenvectors of a complex Hermitian matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm. no cap, that's the whole vibe. β¨
π Parameters π
JOBZβJOBZ is CHARACTER*1.= 'N':Compute eigenvalues only;= 'V':Compute eigenvalues and eigenvectors.
UPLOβUPLO is CHARACTER*1.= 'U':Upper triangle ofAis stored;= 'L':Lower triangle ofAis stored.
NβN is INTEGER. The order of the matrixA.N >= 0.AβA is COMPLEX array, dimension (LDA, N). On entry, the Hermitian matrixA. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA. On exit, ifJOBZ = 'V', then ifINFO = 0,Acontains the orthonormal eigenvectors of the matrixA. IfJOBZ = 'N', then on exit the lower triangle (ifUPLO='L') or the upper triangle (ifUPLO='U') ofA, including the diagonal, is destroyed.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).WβW is REAL array, dimension (N). IfINFO = 0, the eigenvalues in ascending order.WORKβWORK is COMPLEX array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER. The length of the arrayWORK. IfN <= 1,LWORKmust be at least 1. IfJOBZ = 'N'andN > 1,LWORKmust be at leastN + 1. IfJOBZ = 'V'andN > 1,LWORKmust be at least2*N + N**2. IfLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal sizes of theWORK,RWORKandIWORKarrays, returns these values as the first entries of theWORK,RWORKandIWORKarrays, and no error message related toLWORKorLRWORKorLIWORKis issued byXERBLA.RWORKβRWORK is REAL array, dimension (MAX(1,LRWORK)). On exit, ifINFO = 0,RWORK(1)returns the optimalLRWORK.LRWORKβLRWORK is INTEGER. The dimension of the arrayRWORK. IfN <= 1,LRWORKmust be at least 1. IfJOBZ = 'N'andN > 1,LRWORKmust be at leastN. IfJOBZ = 'V'andN > 1,LRWORKmust be at least1 + 5*N + 2*N**2. IfLRWORK = -1, then a workspace query is assumed; the routine only calculates the optimal sizes of theWORK,RWORKandIWORKarrays, returns these values as the first entries of theWORK,RWORKandIWORKarrays, and no error message related toLWORKorLRWORKorLIWORKis issued byXERBLA.IWORKβIWORK is INTEGER array, dimension (MAX(1,LIWORK)). On exit, ifINFO = 0,IWORK(1)returns the optimalLIWORK.LIWORKβLIWORK is INTEGER. The dimension of the arrayIWORK. IfN <= 1,LIWORKmust be at least 1. IfJOBZ = 'N'andN > 1,LIWORKmust be at least 1. IfJOBZ = 'V'andN > 1,LIWORKmust be at least3 + 5*N. IfLIWORK = -1, then a workspace query is assumed; the routine only calculates the optimal sizes of theWORK,RWORKandIWORKarrays, returns these values as the first entries of theWORK,RWORKandIWORKarrays, and no error message related toLWORKorLRWORKorLIWORKis issued byXERBLA.INFOβINFO is INTEGER.= 0:successful exit< 0:ifINFO = -i, the i-th argument had an illegal value> 0:ifINFO = iandJOBZ = 'N', then the algorithm failed to converge; i off-diagonal elements of an intermediate tridiagonal form did not converge to zero; ifINFO = iandJOBZ = 'V', then the algorithm failed to compute an eigenvalue while working on the submatrix lying in rows and columnsINFO/(N+1)throughmod(INFO,N+1).
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details π₯
Modified description of INFO. Sven, 16 Feb 05.
π§ Contributors π§
Jeff Rutter, Computer Science Division, University of California at Berkeley, USA
Definition at line 196 of file cheevd.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie β this whole diva is LAPACK Version 3.12.0 on source page SRC/cheevd.f(3), with Sven's 16 Feb 05 note in the mix. πβ¨
π¦ 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