SRC/chegst.f(3)
β¨ NAME β¨
okay so bestie, this page is SRC/chegst.f from the Library Functions Manual. The header says SRC/chegst.f(3), and we're folding that manual name right in here π
. It's the docs for the LAPACK subroutine chegst, and it's lowkey iconic.
πΈ SYNOPSIS πΈ
β¨ Functions/Subroutines β¨
subroutine chegst (itype, uplo, n, a, lda, b, ldb, info)βCHEGST
π¦ Function/Subroutine Documentation π¦
subroutine chegst (integer itype, character uplo, integer n, complex, dimension( lda, * ) a, integer lda, complex, dimension( ldb, * ) b, integer ldb, integer info)
CHEGST β that's the subroutine, and it's absolutely main character energy.
β¨ Purpose β¨
okay so CHEGST reduces a complex Hermitian-definite generalized eigenproblem to standard form. fr fr.
- 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.
Also, B must have been previously factorized as U**H*U or L*L**H by CPOTRF. no cap.
π Parameters π
ITYPEβITYPEisINTEGER.= 1: computeinv(U**H)*A*inv(U)orinv(L)*A*inv(L**H);= 2 or 3: computeU*A*U**HorL**H*A*L.
UPLOβUPLOisCHARACTER*1.= 'U': Upper triangle ofAis stored andBis factored asU**H*U;= 'L': Lower triangle ofAis stored andBis factored asL*L**H.
NβNisINTEGER. The order of the matricesAandB.N >= 0.AβAisCOMPLEX array, dimension (LDA,N). On entry, the Hermitian matrixA. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower 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βLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).BβBisCOMPLEX array, dimension (LDB,N). The triangular factor from the Cholesky factorization ofB, as returned byCPOTRF.Bis modified by the routine but restored on exit.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOβINFOisINTEGER.= 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 127 of file chegst.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π source/version footer realness: LAPACK Version 3.12.0, and the page tag is SRC/chegst.f(3). periodt β¨
π¦ 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