ZSTT22(3)
okay so bestie, welcome to ZSTT22(3) from the Library Functions Manual π
this one is a Fortran test routine and itβs giving βlet me check your eigenpairsβ energy, no cap.
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/zstt22.f
π¦ SYNOPSIS π¦
π§ Functions/Subroutines
subroutine ZSTT22 (n, m, kband, ad, ae, sd, se, u, ldu, work, ldwork,
rwork, result)
ZSTT22
π Function/Subroutine Documentation π
subroutine ZSTT22 (integer n, integer m, integer kband, double precision,
dimension( * ) ad, double precision, dimension( * ) ae, double
precision, dimension( * ) sd, double precision, dimension( * ) se,
complex*16, dimension( ldu, * ) u, integer ldu, complex*16, dimension(
ldwork, * ) work, integer ldwork, double precision, dimension( * )
rwork, double precision, dimension( 2 ) result)
ZSTT22
π― Purpose
okay so ZSTT22 checks a set of M eigenvalues and eigenvectors, like:
A U = U S
where A is Hermitian tridiagonal, the columns of U are unitary, and S is diagonal (if KBAND=0) or Hermitian tridiagonal (if KBAND=1). Two tests are performed:
RESULT(1) = | U* A U - S | / ( |A| m ulp )
RESULT(2) = | I - U*U | / ( m ulp )
πΈ Parameters
NβNisINTEGER. The size of the matrix. If it is zero,ZSTT22does nothing. It must be at least zero.MβMisINTEGER. The number of eigenpairs to check. If it is zero,ZSTT22does nothing. It must be at least zero.KBANDβKBANDisINTEGER. The bandwidth of the matrixS. It may only be zero or one. If zero, thenSis diagonal, andSEis not referenced. If one, thenSis Hermitian tri-diagonal.ADβADisDOUBLE PRECISIONarray, dimension(N). The diagonal of the original (unfactored) matrixA.Ais assumed to be Hermitian tridiagonal.AEβAEisDOUBLE PRECISIONarray, dimension(N). The off-diagonal of the original (unfactored) matrixA.Ais assumed to be Hermitian tridiagonal.AE(1)is ignored,AE(2)is the(1,2)and(2,1)element, etc.SDβSDisDOUBLE PRECISIONarray, dimension(N). The diagonal of the (Hermitian tri-) diagonal matrixS.SEβSEisDOUBLE PRECISIONarray, dimension(N). The off-diagonal of the (Hermitian tri-) diagonal matrixS. Not referenced ifKBSND=0. IfKBAND=1, thenAE(1)is ignored,SE(2)is the(1,2)and(2,1)element, etc.UβUisDOUBLE PRECISIONarray, dimension(LDU, N). The unitary matrix in the decomposition.LDUβLDUisINTEGER. The leading dimension ofU.LDUmust be at leastN.WORKβWORKisCOMPLEX*16array, dimension(LDWORK, M+1).LDWORKβLDWORKisINTEGER. The leading dimension ofWORK.LDWORKmust be at leastmax(1,M).RWORKβRWORKisDOUBLE PRECISIONarray, dimension(N).RESULTβRESULTisDOUBLE PRECISIONarray, dimension(2). The values computed by the two tests described above. The values are currently limited to1/ulp, to avoid overflow.
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 143 of file zstt22.f.
π«Ά Author
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π shoutout to LAPACK Version 3.12.0 and the footer source /home/abui...IG/zstt22.f(3) β no date listed on this one, so Iβm not inventing one, periodt π
π¦ 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