DSGT01(3)
π DSGT01 β like, the actual manual page, bestie
ok so real quick: this is the page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/dsgt01.f β yes that's the whole NAME, it's giving "my home address is my name" energy and honestly? iconic. It lives in the LAPACK Library Functions Manual and it's a subroutine page. Buckle up π
β¨ SYNOPSIS β¨
Subroutines, bestie π¦
subroutine DSGT01 (itype, uplo, n, m, a, lda, b, ldb, z, ldz, d, work,
result)
DSGT01
πΈ Function/Subroutine Documentation πΈ
Here's the whole vibe, literally every single argument, no cap:
subroutine DSGT01 (integer itype, character uplo, integer n, integer m,
double precision, dimension( lda, * ) a, integer lda, double precision,
dimension( ldb, * ) b, integer ldb, double precision, dimension( ldz, *
) z, integer ldz, double precision, dimension( * ) d, double precision,
dimension( * ) work, double precision, dimension( * ) result)
DSGT01
π§ Purpose π§
ok so DDGT01 checks a decomposition of the form
A Z = B Z D or
A B Z = Z D or
B A Z = Z D
where A is a symmetric matrix, B is symmetric positive definite, Z is orthogonal, and D is diagonal. (yes it says DDGT01 in the Purpose block and DSGT01 everywhere else β that's just how the source is, don't come for me π)
One of the following test ratios gets computed, and it's giving math girlie main character energy:
ITYPE = 1:RESULT(1) = | A Z - B Z D | / ( |A| |Z| n ulp )ITYPE = 2:RESULT(1) = | A B Z - Z D | / ( |A| |Z| n ulp )ITYPE = 3:RESULT(1) = | B A Z - Z D | / ( |A| |Z| n ulp )
π Parameters π
ITYPEβITYPE is INTEGER. It's the form of the symmetric generalized eigenproblem, and the options are:= 1:A*z = (lambda)*B*z= 2:A*B*z = (lambda)*z= 3:B*A*z = (lambda)*z
UPLOβUPLO is CHARACTER*1. Tells you whether the upper or lower triangular part of the symmetric matricesAandBis stored. Pick your fighter:= 'U':Upper triangular= 'L':Lower triangular
NβN is INTEGER. The order of the matrixA. Constraint:N >= 0.MβM is INTEGER. The number of eigenvalues found. Constraint:0 <= M <= N.AβA is DOUBLE PRECISION array, dimension (LDA, N). The original symmetric matrixA. πLDAβLDA is INTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,N).BβB is DOUBLE PRECISION array, dimension (LDB, N). The original symmetric positive definite matrixB. (positive definite AND symmetric, we stan a well-behaved matrix π«Ά)LDBβLDB is INTEGER. The leading dimension of the arrayB. Constraint:LDB >= max(1,N).ZβZ is DOUBLE PRECISION array, dimension (LDZ, M). The computed eigenvectors of the generalized eigenproblem. βLDZβLDZ is INTEGER. The leading dimension of the arrayZ. Constraint:LDZ >= max(1,N).DβD is DOUBLE PRECISION array, dimension (M). The computed eigenvalues of the generalized eigenproblem. πWORKβWORK is DOUBLE PRECISION array, dimension (N*N). That's the whole description, that's it, it's a workspace array, slay.RESULTβRESULT is DOUBLE PRECISION array, dimension (1). The test ratio as described above. One whole element of pure judgment. π₯
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line144of filedsgt01.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Not me, not you, a robot did this. π€β¨
and that's the whole page bestie, we ate and left zero crumbs π β this was LAPACK, Version 3.12.0, brought to you from /home/abui...IG/dsgt01.f π
π
π¦ 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