SRC/zhpgst.f(3)
π NAME π
SRC/zhpgst.f is the page, bestie β it lives in the Library Functions Manual, and it's all about the ZHPGST subroutine. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines
subroutine zhpgst (itype, uplo, n, ap, bp, info)
ZHPGST
πΈ Function/Subroutine Documentation πΈ
β subroutine zhpgst
subroutine zhpgst (integer itype, character uplo, integer n, complex*16,
dimension( * ) ap, complex*16, dimension( * ) bp, integer info)
ZHPGST
π Purpose π
Okay so ZHPGST reduces a complex Hermitian-definite generalized eigenproblem to standard form, using packed storage. Periodt.
If ITYPE = 1, the problem is A*x = lambda*B*x, and A is overwritten by inv(U**H)*A*inv(U) or inv(L)*A*inv(L**H).
If ITYPE = 2 or 3, the problem is A*B*x = lambda*x or B*A*x = lambda*x, and A is overwritten by U*A*U**H or L**H*A*L.
B must have been previously factorized as U**H*U or L*L**H by ZPPTRF. No cap, that's required. π«Ά
π¦ Parameters π¦
ITYPEβ isINTEGER:= 1: computeinv(U**H)*A*inv(U)orinv(L)*A*inv(L**H);= 2 or 3: computeU*A*U**HorL**H*A*L.
UPLOβ isCHARACTER*1:= 'U': Upper triangle ofAis stored andBis factored asU**H*U;= 'L': Lower triangle ofAis stored andBis factored asL*L**H.
Nβ isINTEGER; the order of the matricesAandB.N >= 0.APβ isCOMPLEX*16 array, dimension (N*(N+1)/2). On entry, this is the upper or lower triangle of the Hermitian matrixA, packed columnwise in a linear array. The j-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, this holds the transformed matrix, stored in the same format as A.
BPβ isCOMPLEX*16 array, dimension (N*(N+1)/2). This is the triangular factor from the Cholesky factorization ofB, stored in the same format asA, as returned byZPPTRF.INFOβ isINTEGER:= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition
Definition at line 112 of file zhpgst.f.
π Author (generated edition) π
Generated automatically by Doxygen for LAPACK from the source code. π
That's the whole vibe, bestie: LAPACK Version 3.12.0, page SRC/zhpgst.f(3) β mwah. ππ
π¦ 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