ZSGT01(3)
π NAME π
okay so bestie, this is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/zsgt01.f β like, that whole entire path, no cap. She's a Fortran file living her best life in the LAPACK testing directory, and this page is coming to you from the Library Functions Manual. Periodt.
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines
so here's the little angel herself:
subroutine ZSGT01 (itype, uplo, n, m, a, lda, b, ldb, z, ldz, d, work,
rwork, result)
ZSGT01 β that's it, that's the name, iconic behavior honestly.
π Function/Subroutine Documentation π
okay so here's the full signature in all her glory, every single argument, and yes we're listing all of them because she's thorough:
subroutine ZSGT01 (integer itype, character uplo, integer n, integer m,
complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension(
ldb, * ) b, integer ldb, complex*16, dimension( ldz, * ) z, integer ldz,
double precision, dimension( * ) d, complex*16, dimension( * ) work,
double precision, dimension( * ) rwork, double precision, dimension( * )
result)
ZSGT01 π
πΈ Purpose πΈ
bestie, this is the whole point of her existence, and I'm quoting the vibe directly:
π CDGT01 checks a decomposition of the formtext A Z = B Z D or A B Z = Z D or B A Z = Z Dπ where A is a Hermitian matrix, B is Hermitian positive definite, Z is unitary, and D is diagonal. π 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 )
like, she literally just checks whether your eigenvectors and eigenvalues actually hold up. a vibe check for linear algebra. π
π¦ Parameters π¦
β ITYPE
ITYPE isINTEGERThe form of the Hermitian generalized eigenproblem.= 1:A*z = (lambda)*B*z= 2:A*B*z = (lambda)*z= 3:B*A*z = (lambda)*z
so like, which flavor of eigenproblem are we checking today? that's the whole assignment.
β UPLO
UPLO isCHARACTER*1Specifies whether the upper or lower triangular part of the Hermitian matrices A and B is stored.= 'U': Upper triangular= 'L': Lower triangular
upper girlie or lower girlie, pick your lane.
β N
N isINTEGERThe order of the matrix A.N >= 0.
the size of A. and yes, zero is allowed, she's not gonna gatekeep.
β M
M isINTEGERThe number of eigenvalues found.M >= 0.
how many eigenvalues you actually found. again, M >= 0, no pressure.
β A
A isCOMPLEX*16array, dimension(LDA, N)The original Hermitian matrix A.
the main character matrix, honestly. π
β LDA
LDA isINTEGERThe leading dimension of the array A.LDA >= max(1,N).
the leading dimension of A β don't fumble this one, LDA >= max(1,N).
β B
B isCOMPLEX*16array, dimension(LDB, N)The original Hermitian positive definite matrix B.
the other matrix, except this one is Hermitian and positive definite. she's got standards.
β LDB
LDB isINTEGERThe leading dimension of the array B.LDB >= max(1,N).
leading dimension of B. LDB >= max(1,N). write it down.
β Z
Z isCOMPLEX*16array, dimension(LDZ, M)The computed eigenvectors of the generalized eigenproblem.
the eigenvectors you computed, looking cute in their array.
β LDZ
LDZ isINTEGERThe leading dimension of the array Z.LDZ >= max(1,N).
LDZ >= max(1,N), always, fr fr.
β D
D isDOUBLE PRECISIONarray, dimension(M)The computed eigenvalues of the generalized eigenproblem.
the eigenvalues, double precision, dimension (M). slay.
β WORK
WORK isCOMPLEX*16array, dimension(N*N)
just the workspace, doing her little behind-the-scenes thing. dimension (N*N). π«Ά
β RWORK
RWORK isDOUBLE PRECISIONarray, dimension(N)
real workspace, dimension (N). she's the sensible one.
β RESULT
RESULT isDOUBLE PRECISIONarray, dimension(1)The test ratio as described above.
the moment of truth, bestie β dimension (1), and it holds the test ratio we described up in Purpose. this is where the verdict lives.
π Author π
the absolute legends behind this:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
academic royalty, all of them, no notes. π
π Definition at line 150 of file zsgt01.f.
yes, line 150, file zsgt01.f. that's the exact spot, iykyk.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (not me, not you β Doxygen did that π )
and that's the whole page, bestie!! πβ¨ LAPACK, Version 3.12.0, dropping in from /home/abui...IG/zsgt01.f(3) β slay forever, mwah ππ¦πΈ
π¦ 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