SRC/zhbgv.f(3)
πΈ NAME πΈ
SRC/zhbgv.f β this is the SRC/zhbgv.f(3) page from the Library Functions Manual, bestie. π
β¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zhbgv (...)βZHBGV
subroutine zhbgv (jobz, uplo, n, ka, kb, ab, ldab, bb, ldbb, w, z, ldz,
work, rwork, info)
π¦ Function/Subroutine Documentation π¦
π zhbgv π
subroutine zhbgv (character jobz, character uplo, integer n, integer ka,
integer kb, complex*16, dimension( ldab, * ) ab, integer ldab,
complex*16, dimension( ldbb, * ) bb, integer ldbb, double precision,
dimension( * ) w, complex*16, dimension( ldz, * ) z, integer ldz,
complex*16, dimension( * ) work, double precision, dimension( * ) rwork,
integer info)
ZHBGV
π Purpose π
Okay so here's the vibe: ZHBGV 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. π
β¨
π Parameters π
JOBZβJOBZ is CHARACTER*1= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.
UPLOβUPLO is CHARACTER*1= 'U': Upper triangles of A and B are stored;= 'L': Lower triangles of A and B are stored.
NβN is INTEGER- The order of the matrices
AandB.N >= 0.
- The order of the matrices
KAβKA is INTEGER- The number of superdiagonals of the matrix
AifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KA >= 0.
- The number of superdiagonals of the matrix
KBβKB is INTEGER- The number of superdiagonals of the matrix
BifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KB >= 0.
- The number of superdiagonals of the matrix
ABβAB is COMPLEX*16 array, dimension (LDAB, N)- On entry, the upper or lower triangle of the Hermitian band matrix
A, stored in the firstka+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(ka+1+i-j,j) = A(i,j) for max(1,j-ka)<=i<=j;
if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+ka).
- > On exit, the contents of
ABare destroyed. π
LDABβLDAB is INTEGER- The leading dimension of the array
AB.LDAB >= KA+1.
- The leading dimension of the array
BBβBB is COMPLEX*16 array, dimension (LDBB, N)- On entry, the upper or lower triangle of the Hermitian band matrix
B, stored in the firstkb+1rows of the array. Thej-th column ofBis stored in thej-th column of the arrayBBas follows:
- On entry, the upper or lower triangle of the Hermitian band matrix
if UPLO = 'U', BB(kb+1+i-j,j) = B(i,j) for max(1,j-kb)<=i<=j;
if UPLO = 'L', BB(1+i-j,j) = B(i,j) for j<=i<=min(n,j+kb).
- On exit, the factor
Sfrom the split Cholesky factorizationB = S**H*S, as returned byZPBSTF.
LDBBβLDBB is INTEGER- The leading dimension of the array
BB.LDBB >= KB+1.
- The leading dimension of the array
WβW is DOUBLE PRECISION array, dimension (N)- If
INFO = 0, the eigenvalues in ascending order.
- If
ZβZ is COMPLEX*16 array, dimension (LDZ, N)- If
JOBZ = 'V', then ifINFO = 0,Zcontains the matrixZof eigenvectors, with thei-th column ofZholding the eigenvector associated withW(i). The eigenvectors are normalized so thatZ**H*B*Z = I. - If
JOBZ = 'N', thenZis not referenced.
- If
LDZβLDZ is INTEGER- The leading dimension of the array
Z.LDZ >= 1, and ifJOBZ = 'V',LDZ >= N.
- The leading dimension of the array
WORKβWORK is COMPLEX*16 array, dimension (N)RWORKβRWORK is DOUBLE PRECISION array, dimension (3*N)INFOβINFO is INTEGER= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value> 0: if INFO = i, and i is:<= N: the algorithm failed to converge:i off-diagonal elements of an intermediatetridiagonal form did not converge to zero;
> N: if INFO = N + i, for 1 <= i <= N, then ZPBSTFreturned INFO = i: B is not positive definite.The factorization of B could not be completed andno eigenvalues or eigenvectors were computed.
π Author π
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 181 of file zhbgv.f.
π«Ά Author (page generation) π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie β LAPACK Version 3.12.0, SRC/zhbgv.f(3), and we ate. π
πβ¨
π¦ 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