SRC/dstevd.f(3)
π SRC/dstevd.f(3) β LAPACK Library Functions Manual π
π NAME π
okay bestie, this is the page for SRC/dstevd.f β the dstevd subroutine. It's the "compute all eigenvalues and maybe eigenvectors of a real symmetric tridiagonal matrix" girlie. That's the name vibe, periodt. β¨
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine dstevd (jobz, n, d, e, z, ldz, work, lwork, iwork, liwork,
info)
DSTEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices. Yes, "OTHER matrices" is literally the phrase β iykyk. π
β¨ Function/Subroutine Documentation β¨
Here's the full signature, character-for-character, because we do not mess with the code π«Ά
subroutine dstevd (character jobz, integer n, double precision, dimension( *
) d, double precision, dimension( * ) e, double precision, dimension(
ldz, * ) z, integer ldz, double precision, dimension( * ) work, integer
lwork, integer, dimension( * ) iwork, integer liwork, integer info)
DSTEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices. It's giving "all eigenvalues + optional eigenvectors" energy. π
πΈ Purpose πΈ
DSTEVD computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix. If eigenvectors are desired, it uses a divide and conquer algorithm. That's the whole purpose, bestie β no hidden side quests. π«Ά
π Parameters π
JOBZβCHARACTER*1. It tellsDSTEVDwhat you want:'N'= compute eigenvalues only;'V'= compute eigenvalues and eigenvectors. Choose your fighter. πNβINTEGER. The order of the matrix. Constraint:N >= 0.DβDOUBLE PRECISIONarray, dimension(N). On entry, it's thendiagonal elements of the tridiagonal matrixA. On exit, ifINFO = 0, it holds the eigenvalues in ascending order. Slay. β¨EβDOUBLE PRECISIONarray, dimension(N-1). On entry, the(n-1)subdiagonal elements of the tridiagonal matrixA, stored in elements 1 toN-1ofE. On exit, the contents ofEare destroyed. Yeah, she's gone. πZβDOUBLE PRECISIONarray, dimension(LDZ, N). IfJOBZ = 'V', then ifINFO = 0,Zcontains the orthonormal eigenvectors of the matrixA, with the i-th column ofZholding the eigenvector associated withD(i). IfJOBZ = 'N', thenZis not referenced. Not even looked at. πLDZβINTEGER. The leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).WORKβDOUBLE PRECISIONarray, dimension(LWORK). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. It's the workspace bestie. β¨LWORKβINTEGER. The dimension of the arrayWORK. IfJOBZ = 'N'orN <= 1thenLWORKmust be at least 1. IfJOBZ = 'V'andN > 1thenLWORKmust be at least( 1 + 4*N + N**2 ). IfLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal sizes of theWORKandIWORKarrays, returns these values as the first entries of theWORKandIWORKarrays, and no error message related toLWORKorLIWORKis issued byXERBLA. Query mode: iconic, honestly. π₯IWORKβINTEGERarray, dimension(MAX(1,LIWORK)). On exit, ifINFO = 0,IWORK(1)returns the optimalLIWORK.LIWORKβINTEGER. The dimension of the arrayIWORK. IfJOBZ = 'N'orN <= 1thenLIWORKmust be at least 1. IfJOBZ = 'V'andN > 1thenLIWORKmust be at least3+5*N. IfLIWORK = -1, then a workspace query is assumed; the routine only calculates the optimal sizes of theWORKandIWORKarrays, returns these values as the first entries of theWORKandIWORKarrays, and no error message related toLWORKorLIWORKis issued byXERBLA. Same query energy, different integer array. π§INFOβINTEGER. Exit-status tea:= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.> 0: ifINFO = i, the algorithm failed to converge;ioff-diagonal elements ofEdid not converge to zero. So if you see a positiveINFO, that's the algorithm saying "bestie, I couldn't make those off-diagonals zero." π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 155 of file dstevd.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Doxygen did the auto-generation, not me. π«Ά
SRC/dstevd.f(3) Β· LAPACK Version 3.12.0 β that's the source/version from the footer. The original footer doesn't show a separate date, so no date to report, bestie. Bye-bye! ππ¦
π¦ 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