hpgst(3)
π NAME
okay bestie, welcome to hpgst(3) from the Library Functions Manual β and this page is literally:
hpgst - {hp,sp}gst: reduction to standard form, packed
β¨ SYNOPSIS β¨
π«Ά Functions
subroutine chpgst (itype, uplo, n, ap, bp, info)βCHPGSTsubroutine dspgst (itype, uplo, n, ap, bp, info)βDSPGSTsubroutine sspgst (itype, uplo, n, ap, bp, info)βSSPGSTsubroutine zhpgst (itype, uplo, n, ap, bp, info)βZHPGST
πΈ Detailed Description πΈ
this section is lowkey empty, bestie β the real detail is in Function Documentation right below. β¨
π Function Documentation π
π chpgst β the complex Hermitian-definite one, packed
subroutine chpgst (integer itype, character uplo, integer n, complex,
dimension( * ) ap, complex, dimension( * ) bp, integer info)
CHPGST
π Purpose
bestie, CHPGST reduces a complex Hermitian-definite generalized eigenproblem to standard form, using packed storage. π
- 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 = 2 or 3, the problem isA*B*x = lambda*xorB*A*x = lambda*x, andAis overwritten byU*A*U**HorL**H*A*L. Bmust have been previously factorized asU**H*UorL*L**HbyCPPTRF.
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. - 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.
π dspgst β the real symmetric-definite one, packed
subroutine dspgst (integer itype, character uplo, integer n, double
precision, dimension( * ) ap, double precision, dimension( * ) bp,
integer info)
DSPGST
π Purpose
DSPGST reduces a real symmetric-definite generalized eigenproblem to standard form, using packed storage. π«Ά
- If
ITYPE = 1, the problem isA*x = lambda*B*x, andAis overwritten byinv(U**T)*A*inv(U)orinv(L)*A*inv(L**T). - If
ITYPE = 2 or 3, the problem isA*B*x = lambda*xorB*A*x = lambda*x, andAis overwritten byU*A*U**TorL**T*A*L. Bmust have been previously factorized asU**T*UorL*L**TbyDPPTRF.
Parameters
ITYPEβITYPE is INTEGER= 1: computeinv(U**T)*A*inv(U)orinv(L)*A*inv(L**T);= 2 or 3: computeU*A*U**TorL**T*A*L.
UPLOβUPLO is CHARACTER*1= 'U':Upper triangle ofAis stored andBis factored asU**T*U;= 'L':Lower triangle ofAis stored andBis factored asL*L**T.
NβN is INTEGER- The order of the matrices
AandB.N >= 0.
- The order of the matrices
APβAP is DOUBLE PRECISION array, dimension (N*(N+1)/2)- On entry, the upper or lower triangle of the symmetric 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. - On exit, if
INFO = 0, the transformed matrix, stored in the same format asA.
- On entry, the upper or lower triangle of the symmetric matrix
BPβBP is DOUBLE PRECISION array, dimension (N*(N+1)/2)- The triangular factor from the Cholesky factorization of
B, stored in the same format asA, as returned byDPPTRF.
- 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 dspgst.f.
π¦ sspgst β the real symmetric-definite one, single precision, packed
subroutine sspgst (integer itype, character uplo, integer n, real,
dimension( * ) ap, real, dimension( * ) bp, integer info)
SSPGST
π Purpose
SSPGST reduces a real symmetric-definite generalized eigenproblem to standard form, using packed storage. β¨
- If
ITYPE = 1, the problem isA*x = lambda*B*x, andAis overwritten byinv(U**T)*A*inv(U)orinv(L)*A*inv(L**T). - If
ITYPE = 2 or 3, the problem isA*B*x = lambda*xorB*A*x = lambda*x, andAis overwritten byU*A*U**TorL**T*A*L. Bmust have been previously factorized asU**T*UorL*L**TbySPPTRF.
Parameters
ITYPEβITYPE is INTEGER= 1: computeinv(U**T)*A*inv(U)orinv(L)*A*inv(L**T);= 2 or 3: computeU*A*U**TorL**T*A*L.
UPLOβUPLO is CHARACTER*1= 'U':Upper triangle ofAis stored andBis factored asU**T*U;= 'L':Lower triangle ofAis stored andBis factored asL*L**T.
NβN is INTEGER- The order of the matrices
AandB.N >= 0.
- The order of the matrices
APβAP is REAL array, dimension (N*(N+1)/2)- On entry, the upper or lower triangle of the symmetric 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. - On exit, if
INFO = 0, the transformed matrix, stored in the same format asA.
- On entry, the upper or lower triangle of the symmetric matrix
BPβBP is REAL array, dimension (N*(N+1)/2)- The triangular factor from the Cholesky factorization of
B, stored in the same format asA, as returned bySPPTRF.
- 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 sspgst.f.
π zhpgst β the complex*16 Hermitian-definite one, packed
subroutine zhpgst (integer itype, character uplo, integer n, complex*16,
dimension( * ) ap, complex*16, dimension( * ) bp, integer info)
ZHPGST
π Purpose
ZHPGST reduces a complex Hermitian-definite generalized eigenproblem to standard form, using packed storage. 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 = 2 or 3, the problem isA*B*x = lambda*xorB*A*x = lambda*x, andAis overwritten byU*A*U**HorL**H*A*L. Bmust have been previously factorized asU**H*UorL*L**HbyZPPTRF.
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*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 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. - 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*16 array, dimension (N*(N+1)/2)- The triangular factor from the Cholesky factorization of
B, stored in the same format asA, as returned byZPPTRF.
- 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 zhpgst.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the whole page, bestie! brought to you by LAPACK, Version 3.12.0, signed off by hpgst(3) itself β slay. πβ¨π
π¦ 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