TESTING/EIG/dsgt01.f(3)
π NAME π
TESTING/EIG/dsgt01.f β okay bestie, you found the page for TESTING/EIG/dsgt01.f(3) in the Library Functions Manual. Itβs giving one Fortran file, one subroutine, and a whole lot of eigenproblem energy. The subroutine is dsgt01, and yes, weβre keeping every detail. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine dsgt01 (itype, uplo, n, m, a, lda, b, ldb, z, ldz, d, work,
result)
DSGT01
DSGT01 is literally right there in the synopsis, bestie. π
πΈ Function/Subroutine Documentation πΈ
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 π₯
Okay so the purpose block says 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. No cap. π«Ά
One of the following test ratios is computed:
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:
= 1: A*z = (lambda)*B*z
= 2: A*B*z = (lambda)*z
= 3: B*A*z = (lambda)*z
UPLOβUPLO is CHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matricesAandBis stored.= 'U': Upper triangular,= 'L': Lower triangular.NβN is INTEGER. The order of the matrixA.N >= 0.MβM is INTEGER. The number of eigenvalues found.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.LDA >= max(1,N).BβB is DOUBLE PRECISION array, dimension (LDB, N). The original symmetric positive definite matrixB.LDBβLDB is INTEGER. The leading dimension of the arrayB.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.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)RESULTβRESULT is DOUBLE PRECISION array, dimension (1). The test ratio as described above.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 144 of file dsgt01.f.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole manual page, bestie β LAPACK Version 3.12.0, TESTING/EIG/dsgt01.f(3), and all the eigenproblem tea. Slay and stay orthogonal. πβ¨
π¦ 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