/home/abui...RC/zheev.f(3)
π¦ NAME π¦
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zheev.f
okay so real talk: this is the manual page for zheev.f, and it lives in the LAPACK Library Functions Manual (section 3, bestie β the library functions section, iykyk). It's the source file for ZHEEV and honestly? she's iconic. π
β¨ SYNOPSIS β¨
π Functions/Subroutines
subroutine ZHEEV (jobz, uplo, n, a, lda, w, work, lwork, rwork, info)β ZHEEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices
π Function/Subroutine Documentation π
okay here's the whole vibe, signature and all:
subroutine ZHEEV (character jobz, character uplo, integer n, complex*16,
dimension( lda, * ) a, integer lda, double precision, dimension( * ) w,
complex*16, dimension( * ) work, integer lwork, double precision,
dimension( * ) rwork, integer info)
ZHEEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices. periodt. π
πΈ Purpose πΈ
ZHEEV computes all eigenvalues and, optionally, eigenvectors of a complex Hermitian matrix A. that's the whole job, and she does it. π«Ά
π Parameters π
- JOBZ β
JOBZ is CHARACTER*1, and it's giving "what do you want from me" energy:= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.
- UPLO β
UPLO is CHARACTER*1, aka which triangle of A you're storing:= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
- N β
N is INTEGER, the order of the matrix A. Constraint:N >= 0. no negatives, bestie, it's not that kind of party. π - A β
A is COMPLEX*16 array, dimension (LDA, N)- On entry, the Hermitian matrix A. If
UPLO = 'U', the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A. IfUPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A. - On exit, if
JOBZ = 'V', then ifINFO = 0, A contains the orthonormal eigenvectors of the matrix A. - If
JOBZ = 'N', then on exit the lower triangle (ifUPLO='L') or the upper triangle (ifUPLO='U') of A, including the diagonal, is destroyed. π so like, she ate your input, sorry, that's the deal.
- On entry, the Hermitian matrix A. If
- LDA β
LDA is INTEGER, the leading dimension of the array A. Constraint:LDA >= max(1,N). - W β
W is DOUBLE PRECISION array, dimension (N). IfINFO = 0, the eigenvalues in ascending order. she sorts them for you, that's called service. π - WORK β
WORK is COMPLEX*16 array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. π - LWORK β
LWORK is INTEGER, the length of the array WORK. Constraint:LWORK >= max(1,2*N-1).- For optimal efficiency,
LWORK >= (NB+1)*N, where NB is the blocksize for ZHETRD returned by ILAENV. - 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. it's the "just asking, not committing" option, we love a low-stakes queen. β¨
- For optimal efficiency,
- RWORK β
RWORK is DOUBLE PRECISION array, dimension (max(1, 3*N-2)) - INFO β
INFO is INTEGER, the receipts:= 0: successful exit π< 0: ifINFO = -i, the i-th argument had an illegal value> 0: ifINFO = i, the algorithm failed to converge; i off-diagonal elements of an intermediate tridiagonal form did not converge to zero.
fr fr, that last one matters: when INFO > 0 she did NOT finish converging, so don't trust those results as gospel, bestie.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 138 of file zheev.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (yes, the page has two Author sections β that's not a glitch, that's just how she's built. π)
and that's the whole page, bestie β go forth and diagonalize responsibly. stay slay, stay Hermitian. πβ¨
LAPACK, Version 3.12.0 π¦ β doc auto-generated by Doxygen for LAPACK from the source code, mwah π
π¦ 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