SRC/ssbevx.f(3)
π SRC/ssbevx.f(3) π
okay so this is from the Library Functions Manual, and itβs the page for SRC/ssbevx.f. Buckle up bestie, weβre getting into selected eigenvalues and eigenvectors of a real symmetric band matrix A β¨
πΈ NAME πΈ
SRC/ssbevx.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine ssbevx (jobz, range, uplo, n, kd, ab, ldab, q, ldq, vl, vu, il, iu, abstol, m, w, z, ldz, work, iwork, ifail, info)β SSBEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices
subroutine ssbevx (jobz, range, uplo, n, kd, ab, ldab, q, ldq, vl, vu,
il, iu, abstol, m, w, z, ldz, work, iwork, ifail, info)
π«Ά Function/Subroutine Documentation π«Ά
π subroutine ssbevx π
subroutine ssbevx (character jobz, character range, character uplo, integer
n, integer kd, real, dimension( ldab, * ) ab, integer ldab, real,
dimension( ldq, * ) q, integer ldq, real vl, real vu, integer il,
integer iu, real abstol, integer m, real, dimension( * ) w, real,
dimension( ldz, * ) z, integer ldz, real, dimension( * ) work, integer,
dimension( * ) iwork, integer, dimension( * ) ifail, integer info)
SSBEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices
π― Purpose π―
!>SSBEVX computes selected eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A. Eigenvalues and eigenvectors can be selected by specifying either a range of values or a range of indices for the desired eigenvalues.!>
π Parameters π
JOBZβ isCHARACTER*1.= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.RANGEβ isCHARACTER*1.= 'A': all eigenvalues will be found;= 'V': all eigenvalues in the half-open interval(VL,VU]will be found;= 'I': theIL-th throughIU-th eigenvalues will be found.UPLOβ isCHARACTER*1.= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.Nβ isINTEGER. The order of the matrix A.N >= 0.KDβ isINTEGER. The number of superdiagonals of the matrix A ifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.ABβ isREALarray, dimension(LDAB, N). On entry, the upper or lower triangle of the symmetric band matrix A, stored in the firstKD+1rows of the array. Thej-th column of A is stored in thej-th column of the array AB as follows: ifUPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; ifUPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
On exit, AB is overwritten by values generated during the reduction to tridiagonal form. If UPLO = 'U', the first superdiagonal and the diagonal of the tridiagonal matrix T are returned in rows KD and KD+1 of AB, and if UPLO = 'L', the diagonal and first subdiagonal of T are returned in the first two rows of AB.
LDABβ isINTEGER. The leading dimension of the array AB.LDAB >= KD + 1.Qβ isREALarray, dimension(LDQ, N). IfJOBZ = 'V', the N-by-N orthogonal matrix used in the reduction to tridiagonal form. IfJOBZ = 'N', the array Q is not referenced.LDQβ isINTEGER. The leading dimension of the array Q. IfJOBZ = 'V', thenLDQ >= max(1,N).VLβ isREAL. IfRANGE='V', the lower bound of the interval to be searched for eigenvalues.VL < VU. Not referenced ifRANGE = 'A'or'I'.VUβ isREAL. IfRANGE='V', the upper bound of the interval to be searched for eigenvalues.VL < VU. Not referenced ifRANGE = 'A'or'I'.ILβ isINTEGER. IfRANGE='I', the index of the smallest eigenvalue to be returned.1 <= IL <= IU <= N, ifN > 0;IL = 1andIU = 0ifN = 0. Not referenced ifRANGE = 'A'or'V'.IUβ isINTEGER. IfRANGE='I', the index of the largest eigenvalue to be returned.1 <= IL <= IU <= N, ifN > 0;IL = 1andIU = 0ifN = 0. Not referenced ifRANGE = 'A'or'V'.ABSTOLβ isREAL. The absolute error tolerance for the eigenvalues. An approximate eigenvalue is accepted as converged when it is determined to lie in an interval[a,b]of width less than or equal to
ABSTOL + EPS * max( |a|,|b| ) ,
where EPS is the machine precision. If ABSTOL is less than or equal to zero, then EPS*|T| will be used in its place, where |T| is the 1-norm of the tridiagonal matrix obtained by reducing AB to tridiagonal form.
Eigenvalues will be computed most accurately when ABSTOL is set to twice the underflow threshold 2*SLAMCH('S'), not zero. If this routine returns with INFO>0, indicating that some eigenvectors did not converge, try setting ABSTOL to 2*SLAMCH('S').
See See by Demmel and Kahan, LAPACK Working Note #3.
Mβ isINTEGER. The total number of eigenvalues found.0 <= M <= N. IfRANGE = 'A',M = N, and ifRANGE = 'I',M = IU-IL+1.Wβ isREALarray, dimension(N). The first M elements contain the selected eigenvalues in ascending order.Zβ isREALarray, dimension(LDZ, max(1,M)). IfJOBZ = 'V', then ifINFO = 0, the first M columns of Z contain the orthonormal eigenvectors of the matrix A corresponding to the selected eigenvalues, with the i-th column of Z holding the eigenvector associated withW(i). If an eigenvector fails to converge, then that column of Z contains the latest approximation to the eigenvector, and the index of the eigenvector is returned in IFAIL. IfJOBZ = 'N', then Z is not referenced. Note: the user must ensure that at leastmax(1,M)columns are supplied in the array Z; ifRANGE = 'V', the exact value of M is not known in advance and an upper bound must be used.LDZβ isINTEGER. The leading dimension of the array Z.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).WORKβ isREALarray, dimension(7*N).IWORKβ isINTEGERarray, dimension(5*N).IFAILβ isINTEGERarray, dimension(N). IfJOBZ = 'V', then ifINFO = 0, the first M elements of IFAIL are zero. IfINFO > 0, then IFAIL contains the indices of the eigenvectors that failed to converge. IfJOBZ = 'N', then IFAIL is not referenced.INFOβ isINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.> 0: ifINFO = i, then i eigenvectors failed to converge. Their indices are stored in array IFAIL.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 262 of file ssbevx.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
xoxo, your Unix bestie π β this page is SRC/ssbevx.f(3) from LAPACK Version 3.12.0. The footer doesnβt hand me a date, so Iβm not making one up, periodt π
π¦ 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