sterf(3)
π NAME π
okay so bestie, this is sterf(3) from the Library Functions Manual β yes, the manual name is literally folded right in here with love. π
sterfβsterf: eig, QR iteration
β¨ SYNOPSIS β¨
π Functions π
Hereβs the function roster β two subroutines, same iconic energy:
subroutine dsterf (n, d, e, info)
DSTERF
subroutine ssterf (n, d, e, info)
SSTERF
π« Detailed Description π«
Thereβs no extra prose in this section in the source β it goes straight into the function docs. Buckle up, weβre going in. π¦
π₯ Function Documentation π₯
π subroutine dsterf π
subroutine dsterf (integer n, double precision, dimension( * ) d, double precision, dimension( * ) e, integer info)
DSTERF
π¦ Purpose π¦
DSTERF computes all eigenvalues of a symmetric tridiagonal matrix using the Pal-Walker-Kahan variant of the QL or QR algorithm. Thatβs the whole glow-up. β¨
πΈ Parameters πΈ
NβNisINTEGER. The order of the matrix.N >= 0.DβDisDOUBLE PRECISIONarray, dimension(N). On entry, thendiagonal elements of the tridiagonal matrix. On exit, ifINFO = 0, the eigenvalues in ascending order.EβEisDOUBLE PRECISIONarray, dimension(N-1). On entry, the(n-1)subdiagonal elements of the tridiagonal matrix. On exit,Ehas been destroyed.INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: the algorithm failed to find all of the eigenvalues in a total of30*Niterations; ifINFO = i, thenielements ofEhave not converged to zero.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 85 of file dsterf.f.
π subroutine ssterf π
subroutine ssterf (integer n, real, dimension( * ) d, real, dimension( * ) e, integer info)
SSTERF
π¦ Purpose π¦
SSTERF computes all eigenvalues of a symmetric tridiagonal matrix using the Pal-Walker-Kahan variant of the QL or QR algorithm. Same slay, single-precision edition. π
πΈ Parameters πΈ
NβNisINTEGER. The order of the matrix.N >= 0.DβDisREALarray, dimension(N). On entry, thendiagonal elements of the tridiagonal matrix. On exit, ifINFO = 0, the eigenvalues in ascending order.EβEisREALarray, dimension(N-1). On entry, the(n-1)subdiagonal elements of the tridiagonal matrix. On exit,Ehas been destroyed.INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: the algorithm failed to find all of the eigenvalues in a total of30*Niterations; ifINFO = i, thenielements ofEhave not converged to zero.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 85 of file ssterf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Cute sign-off: the source is LAPACK, version 3.12.0 π β and the original footerβs date slot has no separate date shown, just the sterf(3) tag on the right. π«Άπ
π¦ 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