stev(3)
πΈ NAME πΈ
okay bestie, you're looking at stev(3) from the Library Functions Manual. The NAME line is exactly: stev - stev: eig, QR iteration. That's the whole name tea. π
β¨ SYNOPSIS β¨
two subroutines, same argument-list vibe:
subroutine dstev (jobz, n, d, e, z, ldz, work, info)
DSTEV computes the eigenvalues and, optionally, the left and/or
right eigenvectors for OTHER matrices
subroutine sstev (jobz, n, d, e, z, ldz, work, info)
SSTEV computes the eigenvalues and, optionally, the left and/or
right eigenvectors for OTHER matrices
π Detailed Description π
No extra prose in the original here β it just rolls straight into Function Documentation. Keep scrolling, bestie. π«Ά
π§ Function Documentation π§
π
subroutine dstev (character jobz, integer n, double precision, dimension( * ) d, double precision, dimension( * ) e, double precision, dimension( ldz, * ) z, integer ldz, double precision, dimension( * ) work, integer info)
DSTEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices
π Purpose π
DSTEV computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix A.
πΈ Parameters πΈ
JOBZβJOBZ is CHARACTER*1;= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.NβN is INTEGER; the order of the matrix.N >= 0.DβD is DOUBLE PRECISION array, dimension (N). On entry, thendiagonal elements of the tridiagonal matrixA. On exit, ifINFO = 0, the eigenvalues in ascending order.EβE is DOUBLE PRECISION array, dimension (N-1). On entry, the(n-1)subdiagonal elements of the tridiagonal matrixA, stored in elements1toN-1ofE. On exit, the contents ofEare destroyed.
π destruction alert, bestie: E does not survive the call.
ZβZ is DOUBLE PRECISION array, dimension (LDZ, N). IfJOBZ = 'V', then ifINFO = 0,Zcontains the orthonormal eigenvectors of the matrixA, with thei-th column ofZholding the eigenvector associated withD(i). IfJOBZ = 'N', thenZis not referenced.LDZβLDZ is INTEGER; the leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).WORKβWORK is DOUBLE PRECISION array, dimension (max(1,2*N-2)). IfJOBZ = 'N',WORKis not referenced.INFOβINFO is INTEGER;= 0: successful exit;< 0: ifINFO = -i, thei-th argument had an illegal value;> 0: ifINFO = i, the algorithm failed to converge;ioff-diagonal elements ofEdid not converge to zero.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 115 of file dstev.f.
π¦ subroutine sstev (character jobz, integer n, real, dimension( * ) d, real, dimension( * ) e, real, dimension( ldz, * ) z, integer ldz, real, dimension( * ) work, integer info)
SSTEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices
π Purpose π
SSTEV computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix A.
πΈ Parameters πΈ
JOBZβJOBZ is CHARACTER*1;= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.NβN is INTEGER; the order of the matrix.N >= 0.DβD is REAL array, dimension (N). On entry, thendiagonal elements of the tridiagonal matrixA. On exit, ifINFO = 0, the eigenvalues in ascending order.EβE is REAL array, dimension (N-1). On entry, the(n-1)subdiagonal elements of the tridiagonal matrixA, stored in elements1toN-1ofE. On exit, the contents ofEare destroyed.
π again, E gets absolutely cooked. do not expect it back.
ZβZ is REAL array, dimension (LDZ, N). IfJOBZ = 'V', then ifINFO = 0,Zcontains the orthonormal eigenvectors of the matrixA, with thei-th column ofZholding the eigenvector associated withD(i). IfJOBZ = 'N', thenZis not referenced.LDZβLDZ is INTEGER; the leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).WORKβWORK is REAL array, dimension (max(1,2*N-2)). IfJOBZ = 'N',WORKis not referenced.INFOβINFO is INTEGER;= 0: successful exit;< 0: ifINFO = -i, thei-th argument had an illegal value;> 0: ifINFO = i, the algorithm failed to converge;ioff-diagonal elements ofEdid not converge to zero.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 115 of file sstev.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole page, bestie. shoutout to LAPACK, Version 3.12.0, and the stev(3) footer β there's no date in the footer, so I'm not inventing one. π
π¦ 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