TESTING/EIG/sstt22.f(3)
πΈ NAME πΈ
okay bestie, this is the manual page for TESTING/EIG/sstt22.f β Library Functions Manual, section 3, and the main character is literally the routine SSTT22. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine sstt22 (n, m, kband, ad, ae, sd, se, u, ldu, work, ldwork, result)
SSTT22
π Function/Subroutine Documentation π
hereβs the full signature, exactly as the page gives it, no edits:
subroutine sstt22 (integer n, integer m, integer kband, real, dimension( * ) ad, real, dimension( * ) ae, real, dimension( * ) sd, real, dimension( * ) se, real, dimension( ldu, * ) u, integer ldu, real, dimension( ldwork, * ) work, integer ldwork, real, dimension( 2 ) result)
SSTT22 β thatβs the routine, periodt. β¨
π Purpose π
the source comment is giving exact math energy, so here it is verbatim:
!> SSTT22 checks a set of M eigenvalues and eigenvectors,
!>
!> A U = U S
!>
!> where A is symmetric tridiagonal, the columns of U are orthogonal,
!> and S is diagonal (if KBAND=0) or symmetric tridiagonal (if KBAND=1).
!> Two tests are performed:
!>
!> RESULT(1) = | U' A U - S | / ( |A| m ulp )
!>
!> RESULT(2) = | I - U'U | / ( m ulp )
!>
so yeah: M eigenpairs, two tests, very demure, very mindful. π¦
πΈ Parameters πΈ
Nis INTEGER β the size of the matrix. If it is zero,SSTT22does nothing. It must be at least zero. πMis INTEGER β the number of eigenpairs to check. If it is zero,SSTT22does nothing. It must be at least zero. π’KBANDis INTEGER β the bandwidth of the matrixS. It may only be zero or one. If zero, thenSis diagonal, andSEis not referenced. If one, thenSis symmetric tri-diagonal. ποΈADis REAL array, dimension(N)β the diagonal of the original (unfactored) matrixA.Ais assumed to be symmetric tridiagonal. π§΅AEis REAL array, dimension(N)β the off-diagonal of the original (unfactored) matrixA.Ais assumed to be symmetric tridiagonal.AE(1)is ignored,AE(2)is the(1,2)and(2,1)element, etc. πͺ‘SDis REAL array, dimension(N)β the diagonal of the (symmetric tri-) diagonal matrixS. π«SEis REAL array, dimension(N)β the off-diagonal of the (symmetric tri-) diagonal matrixS. Not referenced ifKBSND=0. IfKBAND=1, thenAE(1)is ignored,SE(2)is the(1,2)and(2,1)element, etc. π«ΆUis REAL array, dimension(LDU, N)β the orthogonal matrix in the decomposition. πLDUis INTEGER β the leading dimension ofU.LDUmust be at leastN. πWORKis REAL array, dimension(LDWORK, M+1). π§ΊLDWORKis INTEGER β the leading dimension ofWORK.LDWORKmust be at leastmax(1,M). πRESULTis REAL array, 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 137 of file sstt22.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah πβ¨ footer check: LAPACK Version 3.12.0 and TESTING/EIG/sstt22.f(3) β thatβs the source/version sign-off, bestie. bye π«Άπ
π¦ 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