/home/abui...RC/dstev.f(3)
π DSTEV β like, the tridiagonal eigenvalue situation β¨
okay so bestie, this is the dstvev... no wait, dstev.f page from the LAPACK library β a Fortran library functions manual situation. It lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dstev.f and honestly? iconic address. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dstev.f
that's it, that's the name, she's literally just a whole file path and we respect it π
πΈ SYNOPSIS πΈ
Functions/Subroutines
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
like... yes queen, that's the whole assignment π
π¦ Function/Subroutine 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.
!>
so basically you hand her a real symmetric tridiagonal matrix A and she gives you all the eigenvalues, and if you ask nicely she'll throw in the eigenvectors too. main character energy fr fr β¨
π Parameters
JOBZβ ngl this is the personality switch, she'sCHARACTER*1:= 'N': compute eigenvalues only β minimal effort, we love a low-effort queen;= 'V': compute eigenvalues and eigenvectors β she's doing the most and honestly? slay.
NβNisINTEGER, the order of the matrix.N >= 0. (yes bestie, zero is allowed, empty matrix rights π«Ά)DβDisDOUBLE PRECISION array, dimension (N).- On entry: the
ndiagonal elements of the tridiagonal matrixA. - On exit, if
INFO = 0: the eigenvalues in ascending order. organised. sorted. a whole vibe check π
- On entry: the
EβEisDOUBLE PRECISION 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 π like not "modified", destroyed, she's gone, say your goodbyes.
- On entry: the
ZβZisDOUBLE PRECISION 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. she's not invited to this one π
- If
LDZβLDZisINTEGER, the leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N). do not fumble this one, it's giving "read the instructions" πWORKβWORKisDOUBLE PRECISION array, dimension (max(1,2*N-2)). IfJOBZ = 'N',WORKis not referenced. she's just chilling in the wings π§INFOβINFOisINTEGER, and she's the gorliest gossip reporter:= 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. π it's giving "she tried her best"
ngl bestie, watch thatINFO > 0case β convergence failure is real and she will tell you exactly how many off-diagonal elements ofEghosted the zero. no cap.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the full friend group showed up, we love a collaborative effort π
Definition at line 115 of file dstev.f. β¨
π Author
Generated automatically by Doxygen for LAPACK from the source code. (yes, a robot wrote the page, no, she's not sorry π€π )
okay that's the whole thing!! all facts intact, zero details dropped, and honestly? tridiagonal matrices are lowkey underrated. bye bestie, go get those eigenvalues ππ¦
β LAPACK, Version 3.12.0, and the page footer date situation, signing off πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms