ZHPGST(3)
π NAME π
okay bestie, welcome to the Library Functions Manual page for ZHPGST(3) β yes, the packed-storage Hermitian-definite generalized eigenproblem girlies are thriving π
. The source file is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zhpgst.f
β¨ SYNOPSIS β¨
Under Functions/Subroutines, the main character is:
subroutine ZHPGST (itype, uplo, n, ap, bp, info)
and the full signature is giving:
subroutine ZHPGST (integer itype, character uplo, integer n, complex*16,
dimension( * ) ap, complex*16, dimension( * ) bp, integer info)
ZHPGST β thatβs the routine. Iconic. π«Ά
π Function/Subroutine Documentation π
π¦ Purpose π¦
okay so real talk: ZHPGST reduces a complex Hermitian-definite generalized eigenproblem to standard form, using packed storage. Thatβs the whole assignment, no cap.
- If
ITYPE = 1, the problem isA*x = lambda*B*x, andAis overwritten byinv(U**H)*A*inv(U)orinv(L)*A*inv(L**H). - If
ITYPE = 2or3, the problem isA*B*x = lambda*xorB*A*x = lambda*x, andAis overwritten byU*A*U**HorL**H*A*L.
Important, bestie:Bmust have been previously factorized asU**H*UorL*L**HbyZPPTRF.
π Parameters π
πΈ ITYPE πΈ
ITYPEβ isINTEGER= 1: computeinv(U**H)*A*inv(U)orinv(L)*A*inv(L**H);= 2or3: computeU*A*U**HorL**H*A*L.
πΈ UPLO πΈ
UPLOβ isCHARACTER*1= 'U': Upper triangle ofAis stored andBis factored asU**H*U;= 'L': Lower triangle ofAis stored andBis factored asL*L**H.
πΈ N πΈ
Nβ isINTEGER. The order of the matricesAandB.N >= 0.
πΈ AP πΈ
APβ isCOMPLEX*16array, dimension(N*(N+1)/2). On entry, the upper or lower triangle of the Hermitian matrixA, packed columnwise in a linear array. Thej-th column ofAis stored in the arrayAPas follows:- if
UPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; - if
UPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j)forj<=i<=n.
- if
On exit, if INFO = 0, the transformed matrix, stored in the same format as A.
πΈ BP πΈ
BPβ isCOMPLEX*16array, dimension(N*(N+1)/2). The triangular factor from the Cholesky factorization ofB, stored in the same format asA, as returned byZPPTRF.
πΈ INFO πΈ
INFOβ isINTEGER= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 112 of file zhpgst.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π«Ά. Footer vibes: LAPACK Version 3.12.0, and the file path shown as /home/abui...RC/zhpgst.f(3). No date is shown on this page, so Iβm not gonna invent one β 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