SRC/dsbevd.f(3)
π NAME π
Okay so bestie, this page is SRC/dsbevd.f β the manual entry for the dsbevd Fortran routine, and it is literally here to compute eigenvalues and eigenvectors for symmetric band matrices. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dsbevd (jobz, uplo, n, kd, ab, ldab, w, z, ldz, work, lwork,
iwork, liwork, info)
DSBEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices. π«Ά
π¦ Function/Subroutine Documentation π¦
πΈ subroutine dsbevd
subroutine dsbevd (character jobz, character uplo, integer n, integer kd,
double precision, dimension( ldab, * ) ab, integer ldab, double
precision, dimension( * ) w, double precision, dimension( ldz, * ) z,
integer ldz, double precision, dimension( * ) work, integer lwork,
integer, dimension( * ) iwork, integer liwork, integer info)
DSBEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices. π
π― Purpose:
DSBEVD computes all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A. If eigenvectors are desired, it uses a divide and conquer algorithm. obsessed with the efficiency tbh. β¨
π Parameters
JOBZβJOBZisCHARACTER*1.= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors. πUPLOβUPLOisCHARACTER*1.= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored. πNβNisINTEGER. The order of the matrixA.N >= 0. π¦KDβKDisINTEGER. The number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0. πΈABβABisDOUBLE PRECISIONarray, dimension(LDAB, N). On entry, the upper or lower triangle of the symmetric band matrixA, stored in the firstKD+1rows of the array. Thej-th column ofAis stored in thej-th column of the arrayABas follows: ifUPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; ifUPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd). On exit,ABis overwritten by values generated during the reduction to tridiagonal form. IfUPLO = 'U', the first superdiagonal and the diagonal of the tridiagonal matrixTare returned in rowsKDandKD+1ofAB, and ifUPLO = 'L', the diagonal and first subdiagonal ofTare returned in the first two rows ofAB. π§LDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= KD + 1. πWβWisDOUBLE PRECISIONarray, dimension(N). IfINFO = 0, the eigenvalues in ascending order. πZβZisDOUBLE PRECISIONarray, dimension(LDZ, N). IfJOBZ = 'V', then ifINFO = 0,Zcontains the orthonormal eigenvectors of the matrixA, with thei-th column ofZholding the eigenvector associated withW(i). IfJOBZ = 'N', thenZis not referenced. πLDZβLDZisINTEGER. The leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N). βWORKβWORKisDOUBLE PRECISIONarray, dimension(LWORK). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. πLWORKβLWORKisINTEGER. The dimension of the arrayWORK.IF N <= 1,LWORKmust be at least1. IfJOBZ = 'N'andN > 2,LWORKmust be at least2*N. IfJOBZ = 'V'andN > 2,LWORKmust be at least( 1 + 5*N + 2*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. πIWORKβIWORKisINTEGERarray, dimension(MAX(1,LIWORK)). On exit, ifINFO = 0,IWORK(1)returns the optimalLIWORK. πLIWORKβLIWORKisINTEGER. The dimension of the arrayIWORK. IfJOBZ = 'N'orN <= 1,LIWORKmust be at least1. IfJOBZ = 'V'andN > 2,LIWORKmust 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. π«ΆINFOβINFOisINTEGER.= 0: successful exit;< 0: ifINFO = -i, thei-th argument had an illegal value;> 0: ifINFO = i, the algorithm failed to converge;ioff-diagonal elements of an intermediate tridiagonal form did not converge to zero. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 185 of file dsbevd.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π
sign-off bestie: the footer says LAPACK Version 3.12.0 SRC/dsbevd.f(3) β source/version/file tag secured, and yes, that's the whole mood. π«Άβ¨π
π¦ 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