ZHBEVX(3)
π NAME π
zhbevx.f(3) from the Library Functions Manual β okay bestie, this is the page for the LAPACK source file:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zhbevx.f
π SYNOPSIS π
π§ Functions/Subroutines π§
subroutine ZHBEVX (jobz, range, uplo, n, kd, ab, ldab, q, ldq, vl, vu,
il, iu, abstol, m, w, z, ldz, work, rwork, iwork, ifail, info)
ZHBEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices π
β¨ Function/Subroutine Documentation β¨
subroutine ZHBEVX (character jobz, character range, character uplo, integer
n, integer kd, complex*16, dimension( ldab, * ) ab, integer ldab,
complex*16, dimension( ldq, * ) q, integer ldq, double precision vl,
double precision vu, integer il, integer iu, double precision abstol,
integer m, double precision, dimension( * ) w, complex*16, dimension(
ldz, * ) z, integer ldz, complex*16, dimension( * ) work, double
precision, dimension( * ) rwork, integer, dimension( * ) iwork, integer,
dimension( * ) ifail, integer info)
ZHBEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices πΈ
π Purpose: π
Okay so the actual purpose, no cap: ZHBEVX computes selected eigenvalues and, optionally, eigenvectors of a complex Hermitian band matrix A. Eigenvalues and eigenvectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues. Periodt. π
π Parameters π
JOBZβ isCHARACTER*1.= 'N': compute eigenvalues only;= 'V': compute eigenvalues and eigenvectors.
RANGEβ isCHARACTER*1.= 'A': all eigenvalues will be found;= 'V': all eigenvalues in the half-open interval(VL,VU]will be found;= 'I': theIL-th throughIU-th eigenvalues will be found.
UPLOβ isCHARACTER*1.= 'U': upper triangle ofAis stored;= 'L': lower triangle ofAis stored.
Nβ isINTEGER. The order of the matrixA.N >= 0.KDβ isINTEGER. The number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.ABβ isCOMPLEX*16 array, dimension (LDAB, N).- On entry, the upper or lower triangle of the Hermitian band matrix
A, stored in the firstKD+1rows of the array. Thej-th column ofAis stored in thej-th column of the arrayABas follows:
- On entry, the upper or lower triangle of the Hermitian band matrix
if UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j;
if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+kd).
- On exit,
ABis overwritten by values generated during the reduction to tridiagonal form.
LDABβ isINTEGER. The leading dimension of the arrayAB.LDAB >= KD + 1.Qβ isCOMPLEX*16 array, dimension (LDQ, N).- If
JOBZ = 'V', theN-by-Nunitary matrix used in the reduction to tridiagonal form. - If
JOBZ = 'N', the arrayQis not referenced.
- If
LDQβ isINTEGER. The leading dimension of the arrayQ. IfJOBZ = 'V', thenLDQ >= max(1,N).VLβ isDOUBLE PRECISION. IfRANGE='V', the lower bound of the interval to be searched for eigenvalues.VL < VU. Not referenced ifRANGE = 'A'or'I'.VUβ isDOUBLE PRECISION. IfRANGE='V', the upper bound of the interval to be searched for eigenvalues.VL < VU. Not referenced ifRANGE = 'A'or'I'.ILβ isINTEGER. IfRANGE='I', the index of the smallest eigenvalue to be returned.1 <= IL <= IU <= N, if N > 0; IL = 1 and IU = 0 if N = 0.Not referenced ifRANGE = 'A'or'V'.IUβ isINTEGER. IfRANGE='I', the index of the largest eigenvalue to be returned.1 <= IL <= IU <= N, if N > 0; IL = 1 and IU = 0 if N = 0.Not referenced ifRANGE = 'A'or'V'.ABSTOLβ isDOUBLE PRECISION. The absolute error tolerance for the eigenvalues. An approximate eigenvalue is accepted as converged when it is determined to lie in an interval[a,b]of width less than or equal to:
ABSTOL + EPS * max( |a|,|b| ) ,
where EPS is the machine precision. If ABSTOL is less than or equal to zero, then EPS*|T| will be used in its place, where |T| is the 1-norm of the tridiagonal matrix obtained by reducing AB to tridiagonal form.
Eigenvalues will be computed most accurately when ABSTOL is set to twice the underflow threshold 2*DLAMCH('S'), not zero. If this routine returns with INFO>0, indicating that some eigenvectors did not converge, try setting ABSTOL to 2*DLAMCH('S').
See by Demmel and Kahan, LAPACK Working Note #3. (yes, exactly like that in the source tea π«)
Mβ isINTEGER. The total number of eigenvalues found.0 <= M <= N. IfRANGE = 'A',M = N, and ifRANGE = 'I',M = IU-IL+1.Wβ isDOUBLE PRECISION array, dimension (N). The firstMelements contain the selected eigenvalues in ascending order.Zβ isCOMPLEX*16 array, dimension (LDZ, max(1,M)).- If
JOBZ = 'V', then ifINFO = 0, the firstMcolumns ofZcontain the orthonormal eigenvectors of the matrixAcorresponding to the selected eigenvalues, with thei-th column ofZholding the eigenvector associated withW(i). - If an eigenvector fails to converge, then that column of
Zcontains the latest approximation to the eigenvector, and the index of the eigenvector is returned inIFAIL. - If
JOBZ = 'N', thenZis not referenced. - Note: the user must ensure that at least
max(1,M)columns are supplied in the arrayZ; ifRANGE = 'V', the exact value ofMis not known in advance and an upper bound must be used.
- If
LDZβ isINTEGER. The leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).WORKβ isCOMPLEX*16 array, dimension (N).RWORKβ isDOUBLE PRECISION array, dimension (7*N).IWORKβ isINTEGER array, dimension (5*N).IFAILβ isINTEGER array, dimension (N).- If
JOBZ = 'V', then ifINFO = 0, the firstMelements ofIFAILare zero. - If
INFO > 0, thenIFAILcontains the indices of the eigenvectors that failed to converge. - If
JOBZ = 'N', thenIFAILis not referenced.
- If
INFOβ isINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: ifINFO = i, thenieigenvectors failed to converge. Their indices are stored in arrayIFAIL.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 264 of file zhbevx.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code. iykyk, bestie π«Ά
Okay thatβs the whole page β footer tea, no invented date: LAPACK Β· Version 3.12.0 Β· /home/abui...RC/zhbevx.f(3) πβ¨π
π¦ 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