SRC/zhegs2.f(3)
okay so bestie, welcome to the SRC/zhegs2.f(3) page in the Library Functions Manual. this one is all about zhegs2, and we are keeping every single detail exactly where it belongs. π«Ά
π NAME π
SRC/zhegs2.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine zhegs2 (itype, uplo, n, a, lda, b, ldb, info)
ZHEGS2 reduces a Hermitian definite generalized eigenproblem to standard form, using the factorization results obtained from cpotrf (unblocked algorithm).
π¦ Function/Subroutine Documentation π¦
π
subroutine zhegs2 π
subroutine zhegs2 (integer itype, character uplo, integer n, complex*16,
dimension( lda, * ) a, integer lda, complex*16, dimension( ldb, * ) b,
integer ldb, integer info)
ZHEGS2 reduces a Hermitian definite generalized eigenproblem to standard form, using the factorization results obtained from cpotrf (unblocked algorithm). periodt.
πΈ Purpose: πΈ
ZHEGS2 reduces a complex Hermitian-definite generalized eigenproblem to standard form.
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 ZPOTRF.
π Parameters π
ITYPEβITYPE is INTEGER= 1: computeinv(U**H)*A*inv(U)orinv(L)*A*inv(L**H);= 2or3: computeU*A*U**HorL**H *A*L.
UPLOβUPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrixAis stored, and howBhas been factorized.= 'U': Upper triangular= 'L': Lower triangular
NβN is INTEGER. The order of the matricesAandB.N >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). On entry, the Hermitian matrixA. IfUPLO = 'U', the leadingnbynupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingnbynlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. On exit, ifINFO = 0, the transformed matrix, stored in the same format asA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).BβB is COMPLEX*16 array, dimension (LDB,N). The triangular factor from the Cholesky factorization ofB, as returned byZPOTRF.Bis modified by the routine but restored on exit.LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOβINFO is INTEGER= 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 127 of file zhegs2.f π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole SRC/zhegs2.f(3) page, bestie β from LAPACK Version 3.12.0, and that's the sign-off πβ¨
π¦ 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