/home/abui...RC/dsbev.f(3)
π dsbev.f β like, the Library Functions Manual era β¨
okay so bestie, you've stumbled into /home/abui...RC/dsbev.f(3) and honestly? iconic of you. this is dsbev.f from the LAPACK library functions manual, and it's giving very specific, very symmetric-band-matrix energy. buckle up π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dsbev.f
like, that's the whole path. that's the name. it's a whole journey. no cap. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DSBEV (jobz, uplo, n, kd, ab, ldab, w, z, ldz, work, info)β DSBEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices
π¦ Function/Subroutine Documentation π¦
subroutine DSBEV (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 info)
DSBEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices. like the "OTHER matrices" ones. bestie it's so specific and I respect it π
π― Purpose:
!>
!> DSBEV computes all the eigenvalues and, optionally, eigenvectors of
!> a real symmetric band matrix A.
!>
so it takes your real symmetric band matrix A, and it gets you the eigenvalues, and if you ask nicely it also hands over the eigenvectors. lowkey obsessed with how tidy that is. β¨
π Parameters
JOBZβJOBZ is CHARACTER*1= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.
pick your fighter, bestie. 'N' is the low-effort era, 'V' is main character energy π
UPLOβUPLO is CHARACTER*1= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
which triangle of A you actually stuffed into memory. that's it, that's the choice π«Ά
NβN is INTEGERThe order of the matrixA. and, and hear me out:N >= 0.π«ΆKDβKD is INTEGERThe number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.like the band width, basically. the vibe width. πABβAB is DOUBLE PRECISION array, dimension (LDAB, N)
On entry, the upper or lower triangle of the symmetric band matrix A, stored in the first KD+1 rows of the array. The j-th column of A is stored in the j-th column of the array AB as follows:
if UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j;
if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+kd).
On exit, AB is overwritten by values generated during the reduction to tridiagonal form. π not a drill β your input is gone, gone girl. If UPLO = 'U', the first superdiagonal and the diagonal of the tridiagonal matrix T are returned in rows KD and KD+1 of AB, and if UPLO = 'L', the diagonal and first subdiagonal of T are returned in the first two rows of AB.
LDABβLDAB is INTEGERThe leading dimension of the arrayAB.LDAB >= KD + 1.like, please. respect the bound. πWβW is DOUBLE PRECISION array, dimension (N)IfINFO = 0, the eigenvalues in ascending order. sorted and serving. πZβZ is DOUBLE PRECISION array, dimension (LDZ, N)IfJOBZ = 'V', then ifINFO = 0,Zcontains the orthonormal eigenvectors of the matrixA, with the i-th column ofZholding the eigenvector associated withW(i). IfJOBZ = 'N', thenZis not referenced β literally doesn't even get a text back. πLDZβLDZ is INTEGERThe leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).βWORKβWORK is DOUBLE PRECISION array, dimension (max(1,3*N-2))the workspace. the little helper. the backstage crew. π§INFOβINFO is INTEGER= 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 an intermediate tridiagonal form did not converge to zero.
so > 0 is the "it didn't converge" era and likeβ¦ yeah. that's real. that happened. π
ngl, thatINFO > 0one is the one you gotta check, bestie. if it's nonzero, don't trustW. fr fr.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad π«Ά
Definition at line 144 of file dsbev.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. so like, a robot wrote this and honestly? she ate. π€π
LAPACK Β· Version 3.12.0 Β· /home/abui...RC/dsbev.f(3) β mwah, that's the page, go compute your eigenvalues bestie πβ¨ππ¦
π¦ 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