TESTING/EIG/zstt22.f(3)
π TESTING/EIG/zstt22.f π
okay bestie, this is the TESTING/EIG/zstt22.f page from the Library Functions Manual π
and it's literally all about the zstt22 subroutine. no cap, we're testing eigenpairs today. β¨
πΈ NAME πΈ
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 π«Ά
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 β the whole A U = U S situation:
ZSTT22 checks a set of M eigenvalues and eigenvectors,
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 )
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 π
every parameter, no skipping, periodt:
NβNis INTEGER. The size of the matrix. If it is zero,ZSTT22does nothing. It must be at least zero.MβMis INTEGER. The number of eigenpairs to check. If it is zero,ZSTT22does nothing. It must be at least zero.KBANDβKBANDis INTEGER. 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βADis DOUBLE PRECISION array, dimension (N). The diagonal of the original (unfactored) matrixA.Ais assumed to be Hermitian tridiagonal.AEβAEis DOUBLE PRECISION array, 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βSDis DOUBLE PRECISION array, dimension (N). The diagonal of the (Hermitian tri-) diagonal matrixS.SEβSEis DOUBLE PRECISION array, 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βUis DOUBLE PRECISION array, dimension (LDU, N). The unitary matrix in the decomposition.LDUβLDUis INTEGER. The leading dimension ofU.LDUmust be at leastN.WORKβWORKis COMPLEX*16 array, dimension (LDWORK, M+1).LDWORKβLDWORKis INTEGER. The leading dimension ofWORK.LDWORKmust be at leastmax(1,M).RWORKβRWORKis DOUBLE PRECISION array, dimension (N).RESULTβRESULTis DOUBLE PRECISION array, dimension (2). The values computed by the two tests described above. The values are currently limited to1/ulp, to avoid overflow.
π Author π
shoutout to the institutions behind this β ily:
- 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.
that's the whole page, bestie β mwah π LAPACK Version 3.12.0 Β· TESTING/EIG/zstt22.f(3) Β· and the footer has no date line, so no made-up date from me ππ
π¦ 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