DSYGS2(3)
DSYGS2(3) π«Ά β Library Functions Manual
okay so bestie, welcome to the DSYGS2(3) page from the Library Functions Manual. This is the LAPACK subroutine that reduces a symmetric definite generalized eigenproblem to standard form using factorization results obtained from spotrf (unblocked algorithm). Itβs giving linear algebra main character energy, and yes, weβre getting into every argument. π
NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dsygs2.f
Thatβs the source-file name for this page. No cap.
SYNOPSIS
Functions/Subroutines β¨
subroutine DSYGS2 (itype, uplo, n, a, lda, b, ldb, info)
DSYGS2 reduces a symmetric definite generalized eigenproblem to standard form, using the factorization results obtained from spotrf (unblocked algorithm).
Function/Subroutine Documentation π
subroutine DSYGS2 (integer itype, character uplo, integer n, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( ldb, * ) b, integer ldb, integer info)
DSYGS2 reduces a symmetric definite generalized eigenproblem to standard form, using the factorization results obtained from spotrf (unblocked algorithm).
Purpose π
- DSYGS2 reduces a real symmetric-definite generalized eigenproblem to standard form.
- 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 = 2or3, 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**TbyDPOTRF.
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; specifies whether the upper or lower triangular part of the symmetric 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 DOUBLE PRECISION array, dimension (LDA,N). On entry, the symmetric 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βLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(1,N).BβB is DOUBLE PRECISION array, dimension (LDB,N); the triangular factor from the Cholesky factorization ofB, as returned byDPOTRF.LDBβLDB is INTEGER; the leading dimension of the arrayB.LDB >= max(1,N).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 126 of file dsygs2.f.
Author π
Generated automatically by Doxygen for LAPACK from the source code.
From LAPACK Version 3.12.0, footer path /home/abui...RC/dsygs2.f(3) β and thereβs no date on this page, bestie, so Iβm not making one up π
π¦ 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