/home/abui...RC/zhpgv.f(3)
β¨ NAME β¨
Okay bestie, welcome to the zhpgv.f(3) page from the Library Functions Manual β the header is giving truncated-path main-character energy (/home/abui...RC/zhpgv.f(3)), and the full NAME is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zhpgv.f
This is the ZHPGV routine, and she is here to handle a complex generalized Hermitian-definite eigenproblem. Iconic. π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine ZHPGV (itype, jobz, uplo, n, ap, bp, w, z, ldz, work, rwork,
info)
ZHPGV
π Function/Subroutine Documentation π
Hereβs the whole signature, copied exactly because we do not play with function definitions:
subroutine ZHPGV (integer itype, character jobz, character uplo, integer n,
complex*16, dimension( * ) ap, complex*16, dimension( * ) bp, double
precision, dimension( * ) w, complex*16, dimension( ldz, * ) z, integer
ldz, complex*16, dimension( * ) work, double precision, dimension( * )
rwork, integer info)
ZHPGV
πΈ Purpose πΈ
Bestie, ZHPGV computes all the eigenvalues and, optionally, the eigenvectors of a complex generalized Hermitian-definite eigenproblem, of the form:
A*x=(lambda)*B*x, A*Bx=(lambda)*x, or B*A*x=(lambda)*x.
Here A and B are assumed to be Hermitian, stored in packed format, and B is also positive definite. Very demure, very mindful. π
π Parameters π
π« ITYPE π«
ITYPE is INTEGER
Specifies the problem type to be solved:
= 1:A*x = (lambda)*B*x= 2:A*B*x = (lambda)*x= 3:B*A*x = (lambda)*x
π« JOBZ π«
JOBZ is CHARACTER*1
= 'N':Compute eigenvalues only;= 'V':Compute eigenvalues and eigenvectors.
π« UPLO π«
UPLO is CHARACTER*1
= 'U':Upper triangles ofAandBare stored;= 'L':Lower triangles ofAandBare stored.
π« N π«
N is INTEGER
The order of the matrices A and B. N >= 0.
π« AP π«
AP is COMPLEX*16 array, dimension (N*(N+1)/2)
On entry, the upper or lower triangle of the Hermitian matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows:
- if
UPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; - if
UPLO = 'L',AP(i + (j-1)*(2*n-j)/2) = A(i,j)forj<=i<=n.
On exit, the contents of AP are destroyed. π So donβt come crying to AP later, sheβs gone.
π« BP π«
BP is COMPLEX*16 array, dimension (N*(N+1)/2)
On entry, the upper or lower triangle of the Hermitian matrix B, packed columnwise in a linear array. The j-th column of B is stored in the array BP as follows:
- if
UPLO = 'U',BP(i + (j-1)*j/2) = B(i,j)for1<=i<=j; - if
UPLO = 'L',BP(i + (j-1)*(2*n-j)/2) = B(i,j)forj<=i<=n.
On exit, BP holds the triangular factor U or L from the Cholesky factorization B = U**H*U or B = L*L**H, in the same storage format as B. She ate and left no crumbs. β¨
π« W π«
W is DOUBLE PRECISION array, dimension (N)
If INFO = 0, the eigenvalues in ascending order. Periodt.
π« Z π«
Z is COMPLEX*16 array, dimension (LDZ, N)
If JOBZ = 'V', then if INFO = 0, Z contains the matrix Z of eigenvectors. The eigenvectors are normalized as follows:
- if
ITYPE = 1or2,Z**H*B*Z = I; - if
ITYPE = 3,Z**H*inv(B)*Z = I.
If JOBZ = 'N', then Z is not referenced. Sheβs not even invited to the function. π
π« LDZ π«
LDZ is INTEGER
The leading dimension of the array Z. LDZ >= 1, and if JOBZ = 'V', LDZ >= max(1,N).
π« WORK π«
WORK is COMPLEX*16 array, dimension (max(1, 2*N-1))
π« RWORK π«
RWORK is DOUBLE PRECISION array, dimension (max(1, 3*N-2))
π« INFO π«
INFO is INTEGER
= 0:successful exit< 0:ifINFO = -i, thei-th argument had an illegal value> 0:ZPPTRForZHPEVreturned an error code:<= N:ifINFO = i,ZHPEVfailed to converge;ioff-diagonal elements of an intermediate tridiagonal form did not convergeto zero (typo and all π);> N:ifINFO = N + i, for1 <= i <= n, then the leading principal minor of orderiofBis not positive. The factorization ofBcould not be completed and no eigenvalues or eigenvectors were computed.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 163 of file zhpgv.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
β¨ Thatβs the whole page, bestie! This one was generated automatically by Doxygen for LAPACK from the source code, and the footer is serving LAPACK Version 3.12.0 with /home/abui...RC/zhpgv.f(3). 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