CHPGST(3)
CHPGST(3) β Library Functions Manual π
okay bestie, so you're looking at CHPGST(3) from the Library Functions Manual, and this page literally lives at /home/abui...RC/chpgst.f(3) β¨. Itβs giving very specific LAPACK subroutine energy, and weβre gonna get through every single detail together. No cap.
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chpgst.f
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine CHPGST (itype, uplo, n, ap, bp, info)
CHPGST
π Function/Subroutine Documentation π
subroutine CHPGST (integer itype, character uplo, integer n, complex, dimension( * ) ap, complex, dimension( * ) bp, integer info)
CHPGST
π Purpose π
okay so hereβs the tea: CHPGST reduces a complex Hermitian-definite generalized eigenproblem to standard form, using packed storage. Iconic. Obsessed.
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.
Bmust have been previously factorized asU**H*UorL*L**HbyCPPTRF. Like, thatβs not optional, bestie β itβs a whole prerequisite vibe.
π Parameters π
ITYPEβITYPE is INTEGER= 1: computeinv(U**H)*A*inv(U)orinv(L)*A*inv(L**H);= 2 or 3: computeU*A*U**HorL**H*A*L.
UPLOβUPLO is CHARACTER*1= 'U': Upper triangle ofAis stored andBis factored asU**H*U;= 'L': Lower triangle ofAis stored andBis factored asL*L**H.
NβN is INTEGER- The order of the matrices
AandB.N >= 0.
- The order of the matrices
APβAP is COMPLEX 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 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 asA.
- On entry, the upper or lower triangle of the Hermitian matrix
BPβBP is COMPLEX array, dimension (N*(N+1)/2)- The triangular factor from the Cholesky factorization of
B, stored in the same format asA, as returned byCPPTRF.
- The triangular factor from the Cholesky factorization of
INFOβINFO is INTEGER= 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 at line 112 of file chpgst.f. β
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the whole vibe check, bestie π β this page is from LAPACK Version 3.12.0, source path /home/abui...RC/chpgst.f(3), and it is absolutely giving βautomatically generated but still iconicβ energy π«Άβ¨
π¦ 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