SRC/ssygs2.f(3)
π NAME π
SRC/ssygs2.f β that's the name, bestie. This page lives in the Library Functions Manual as SRC/ssygs2.f(3), and it's all about the SSYGS2 subroutine. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine ssygs2 (itype, uplo, n, a, lda, b, ldb, info)
SSYGS2 reduces a symmetric definite generalized eigenproblem to standard form, using the factorization results obtained from spotrf (unblocked algorithm). π«Ά
π¦ Function/Subroutine Documentation π¦
subroutine ssygs2 (integer itype, character uplo, integer n, real,
dimension( lda, * ) a, integer lda, real, dimension( ldb, * ) b, integer
ldb, integer info)
SSYGS2 reduces a symmetric definite generalized eigenproblem to standard form, using the factorization results obtained from spotrf (unblocked algorithm).
πΈ Purpose πΈ
SSYGS2 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 = 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**TbySPOTRF.
π 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 matrix A is stored, and how B has been factorized.= 'U': Upper triangular.= 'L': Lower triangular.NβN is INTEGER. The order of the matrices A and B.N >= 0.AβA is REAL array, dimension (LDA,N). On entry, the symmetric matrix A. IfUPLO = 'U', the leadingnbynupper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. IfUPLO = 'L', the leadingnbynlower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, ifINFO = 0, the transformed matrix, stored in the same format as A.LDAβLDA is INTEGER. The leading dimension of the array A.LDA >= max(1,N).BβB is REAL array, dimension (LDB,N). The triangular factor from the Cholesky factorization of B, as returned bySPOTRF.LDBβLDB is INTEGER. The leading dimension of the array B.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 ssygs2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β footer check: LAPACK, Version 3.12.0, source SRC/ssygs2.f(3). That's the source/version energy, bestie. π
π¦ 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