ZHBGVX(3)
π«Ά ZHBGVX(3) π
okay so bestie, welcome to the Library Functions Manual glow-up for ZHBGVX(3). This is the LAPACK page for the file below, and weβre gonna walk through it like a group chat: every flag, dimension, formula, and exit status is still here, fr fr. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zhbgvx.f
Thatβs the file, bestie. No cap. π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine ZHBGVX (jobz, range, uplo, n, ka, kb, ab, ldab, bb, ldbb, q,
ldq, vl, vu, il, iu, abstol, m, w, z, ldz, work, rwork, iwork,
ifail, info)
ZHBGVX
π Function/Subroutine Documentation π
subroutine ZHBGVX
subroutine ZHBGVX (character jobz, character range, character uplo, integer
n, integer ka, integer kb, complex*16, dimension( ldab, * ) ab, integer
ldab, complex*16, dimension( ldbb, * ) bb, integer ldbb, 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)
ZHBGVX
Purpose:
okay so ZHBGVX computes all the eigenvalues, and optionally, the eigenvectors of a complex generalized Hermitian-definite banded eigenproblem, of the form A*x=(lambda)*B*x. Here A and B are assumed to be Hermitian and banded, and B is also positive definite. Eigenvalues and eigenvectors can be selected by specifying either all eigenvalues, a range of values or a range of indices for the desired eigenvalues. periodt. β¨
Parameters
Every parameter is here, no skipping, iykyk. π
JOBZβJOBZisCHARACTER*1.= 'N':Compute eigenvalues only;= 'V':Compute eigenvalues and eigenvectors.RANGEβRANGEisCHARACTER*1.= 'A':all eigenvalues will be found;= 'V':all eigenvalues in the half-open interval(VL,VU]will be found;= 'I':the IL-th through IU-th eigenvalues will be found.UPLOβUPLOisCHARACTER*1.= 'U':Upper triangles ofAandBare stored;= 'L':Lower triangles ofAandBare stored.NβNisINTEGER. The order of the matricesAandB.N >= 0.KAβKAisINTEGER. The number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KA >= 0.KBβKBisINTEGER. The number of superdiagonals of the matrixBifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KB >= 0.ABβABisCOMPLEX*16 array, dimension (LDAB, N). On entry, the upper or lower triangle of the Hermitian band matrixA, stored in the firstka+1rows of the array. The j-th column ofAis stored in the j-th column of the arrayABas follows: ifUPLO = 'U',AB(ka+1+i-j,j) = A(i,j)formax(1,j-ka)<=i<=j; ifUPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+ka). On exit, the contents ofABare destroyed. bye bestie πLDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= KA+1.BBβBBisCOMPLEX*16 array, dimension (LDBB, N). On entry, the upper or lower triangle of the Hermitian band matrixB, stored in the firstkb+1rows of the array. The j-th column ofBis stored in the j-th column of the arrayBBas follows: ifUPLO = 'U',BB(kb+1+i-j,j) = B(i,j)formax(1,j-kb)<=i<=j; ifUPLO = 'L',BB(1+i-j,j) = B(i,j)forj<=i<=min(n,j+kb). On exit, the factorSfrom the split Cholesky factorizationB = S**H*S, as returned byZPBSTF. slay.LDBBβLDBBisINTEGER. The leading dimension of the arrayBB.LDBB >= KB+1.QβQisCOMPLEX*16 array, dimension (LDQ, N). IfJOBZ = 'V', the n-by-n matrix used in the reduction ofA*x = (lambda)*B*xto standard form, i.e.C*x = (lambda)*x, and consequentlyCto tridiagonal form. IfJOBZ = 'N', the arrayQis not referenced.LDQβLDQisINTEGER. The leading dimension of the arrayQ. IfJOBZ = 'N',LDQ >= 1. IfJOBZ = 'V',LDQ >= max(1,N).VLβVLisDOUBLE PRECISION. IfRANGE='V', the lower bound of the interval to be searched for eigenvalues.VL < VU. Not referenced ifRANGE = 'A'or'I'.VUβVUisDOUBLE PRECISION. IfRANGE='V', the upper bound of the interval to be searched for eigenvalues.VL < VU. Not referenced ifRANGE = 'A'or'I'.ILβILisINTEGER. IfRANGE='I', the index of the smallest eigenvalue to be returned.1 <= IL <= IU <= N, ifN > 0;IL = 1andIU = 0ifN = 0. Not referenced ifRANGE = 'A'or'V'.IUβIUisINTEGER. IfRANGE='I', the index of the largest eigenvalue to be returned.1 <= IL <= IU <= N, ifN > 0;IL = 1andIU = 0ifN = 0. Not referenced ifRANGE = 'A'or'V'.ABSTOLβABSTOLisDOUBLE 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 toABSTOL + EPS * max( |a|,|b| ) ,whereEPSis the machine precision. IfABSTOLis less than or equal to zero, thenEPS*|T|will be used in its place, where|T|is the 1-norm of the tridiagonal matrix obtained by reducingAPto tridiagonal form. Eigenvalues will be computed most accurately whenABSTOLis set to twice the underflow threshold2*DLAMCH('S'), not zero. If this routine returns withINFO>0, indicating that some eigenvectors did not converge, try settingABSTOLto2*DLAMCH('S'). important, bestie πMβMisINTEGER. The total number of eigenvalues found.0 <= M <= N. IfRANGE = 'A',M = N, and ifRANGE = 'I',M = IU-IL+1.WβWisDOUBLE PRECISION array, dimension (N). IfINFO = 0, the eigenvalues in ascending order.ZβZisCOMPLEX*16 array, dimension (LDZ, N). IfJOBZ = 'V', then ifINFO = 0,Zcontains the matrixZof eigenvectors, with the i-th column ofZholding the eigenvector associated withW(i). The eigenvectors are normalized so thatZ**H*B*Z = I. IfJOBZ = 'N', thenZis not referenced.LDZβLDZisINTEGER. The leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= N.WORKβWORKisCOMPLEX*16 array, dimension (N).RWORKβRWORKisDOUBLE PRECISION array, dimension (7*N).IWORKβIWORKisINTEGER array, dimension (5*N).IFAILβIFAILisINTEGER array, dimension (N). IfJOBZ = 'V', then ifINFO = 0, the firstMelements ofIFAILare zero. IfINFO > 0, thenIFAILcontains the indices of the eigenvectors that failed to converge. IfJOBZ = 'N', thenIFAILis not referenced.INFOβINFOisINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.> 0: ifINFO = i, andiis:<= N: thenieigenvectors failed to converge. Their indices are stored in arrayIFAIL.> N: ifINFO = N + i, for1 <= i <= N, thenZPBSTFreturnedINFO = i:Bis not positive definite. The factorization ofBcould not be completed and no eigenvalues or eigenvectors were computed. no results, bestie, it said no π
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Contributors:
Mark Fahey, Department of Mathematics, Univ. of Kentucky, USA
Definition at line 297 of file zhbgvx.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β sign-off time: this page is fromLAPACK,Version 3.12.0, with source/home/abui...RC/zhbgvx.f(3)in the footer. Date? not printed in this footer, so Iβm not making one up, periodt. π
π¦ 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