CHEGS2(3)
π NAME π
okay bestie, this is the page for chegs2.f(3) from the LAPACK Library Functions Manual β¨. The source file itβs talking about is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/chegs2.f
πΈ SYNOPSIS πΈ
Functions/Subroutines π
subroutine CHEGS2 (itype, uplo, n, a, lda, b, ldb, info)
CHEGS2 reduces a Hermitian definite generalized eigenproblem to standard form, using the factorization results obtained from cpotrf (unblocked algorithm). No cap, thatβs the whole vibe.
π Function/Subroutine Documentation π
π¦ subroutine CHEGS2 π¦
subroutine CHEGS2 (integer itype, character uplo, integer n, complex, dimension( lda, * ) a, integer lda, complex, dimension( ldb, * ) b, integer ldb, integer info)
CHEGS2 reduces a Hermitian definite generalized eigenproblem to standard form, using the factorization results obtained from cpotrf (unblocked algorithm). Itβs giving βunblocked algorithmβ main character energy π
β¨ Purpose β¨
CHEGS2 reduces a complex Hermitian-definite generalized eigenproblem to standard form. Periodt.
- 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.
lowkey important:Bmust have been previously factorized asU**H *UorL*L**HbyZPOTRF. Thatβs not optional, bestie π«Ά
π§ 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. It says 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 array, dimension (LDA,N). On entry, itβs 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, this is the transformed matrix, stored in the same format asA. Slay πLDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).BβB is COMPLEX array, dimension (LDB,N). This is the triangular factor from the Cholesky factorization ofB, as returned byCPOTRF.Bis modified by the routine but restored on exit. Cute of it, honestly π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 chegs2.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π. Cute sign-off: this footer energy is LAPACK Version 3.12.0 and /home/abui...RC/chegs2.f(3). Byeee πβ¨
π¦ 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