SRC/sstev.f(3)
okay so you've opened SRC/sstev.f(3) from the Library Functions Manual β and bestie, this is a whole LAPACK moment. Here's the tea, with every flag, value, and detail intact. π
π NAME π
SRC/sstev.f β yes, that's the name. Short, iconic, to the point. π«Ά
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines
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
π¦ Function/Subroutine Documentation π¦
Here's the full signature, character for character:
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
JOBZisCHARACTER*1= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.
N
NisINTEGER- The order of the matrix.
N >= 0.
D
DisREAL array, dimension (N)- On entry, the
ndiagonal elements of the tridiagonal matrixA. - On exit, if
INFO = 0, the eigenvalues in ascending order.
E
EisREAL array, dimension (N-1)- On entry, the
(n-1)subdiagonal elements of the tridiagonal matrixA, stored in elements1toN-1ofE. - On exit, the contents of
Eare destroyed. π fr fr, they're gone.
Z
ZisREAL array, dimension (LDZ, N)- If
JOBZ = 'V', then ifINFO = 0,Zcontains the orthonormal eigenvectors of the matrixA, with thei-th column ofZholding the eigenvector associated withD(i). - If
JOBZ = 'N', thenZis not referenced.
LDZ
LDZisINTEGER- The leading dimension of the array
Z.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).
WORK
WORKisREAL array, dimension (max(1,2*N-2))- If
JOBZ = 'N',WORKis not referenced.
INFO
INFOisINTEGER= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value> 0: if INFO = i, the algorithm failed to converge; i off-diagonal elements of E did 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.
Definition at line 115 of file sstev.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
π cute sign-off: this page is from LAPACK Version 3.12.0, for SRC/sstev.f(3) β mwah, bestie! πβ¨
π¦ 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