SRC/dsbgv.f(3)
π SRC/dsbgv.f β like, the dsbgv manpage bestie
okay so this is a page from the LAPACK manual, section 3 (library functions, bestie, we're fancy). Buckle up, we're talking about dsbgv and honestly? she's iconic. πΈ
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines
subroutine dsbgv (jobz, uplo, n, ka, kb, ab, ldab, bb, ldbb, w, z, ldz, work, info)β literally the whole vibe of this page, it'sDSBGV
π Function/Subroutine Documentation π
subroutine dsbgv (character jobz, character uplo, integer n, integer ka,
integer kb, double precision, dimension( ldab, * ) ab, integer ldab,
double precision, dimension( ldbb, * ) bb, integer ldbb, double
precision, dimension( * ) w, double precision, dimension( ldz, * ) z,
integer ldz, double precision, dimension( * ) work, integer info)
DSBGV π (yes she's all caps, she's that girl)
π¦ Purpose
okay so picture this: DSBGV computes all the eigenvalues, and optionally the eigenvectors, of a real generalized symmetric-definite banded eigenproblem, of the form:
A*x=(lambda)*B*x
Here A and B are assumed to be symmetric and banded, and B is also positive definite. that's the whole assignment, no cap. β¨
π Parameters π
JOBZ
JOBZisCHARACTER*1= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.
UPLO
UPLOisCHARACTER*1= 'U': Upper triangles of A and B are stored;= 'L': Lower triangles of A and B are stored.
N
NisINTEGERβ the order of the matrices A and B.N >= 0. π«Ά
KA
KAisINTEGERβ the number of superdiagonals of the matrix A ifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KA >= 0.
KB
KBisINTEGERβ the number of superdiagonals of the matrix B ifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KB >= 0.
AB
ABisDOUBLE PRECISIONarray, dimension(LDAB, N)
On entry, the upper or lower triangle of the symmetric band matrix A, stored in the first ka+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(ka+1+i-j,j) = A(i,j)formax(1,j-ka)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+ka).
β οΈ On exit, the contents of AB are destroyed. she ate and left no crumbs, bestie. π
LDAB
LDABisINTEGERβ the leading dimension of the arrayAB.LDAB >= KA+1.
BB
BBisDOUBLE PRECISIONarray, dimension(LDBB, N)
On entry, the upper or lower triangle of the symmetric band matrix B, stored in the first kb+1 rows of the array. The j-th column of B is stored in the j-th column of the array BB as follows:
- if
UPLO = 'U',BB(kb+1+i-j,j) = B(i,j)formax(1,j-kb)<=i<=j; - if
UPLO = 'L',BB(1+i-j,j) = B(i,j)forj<=i<=min(n,j+kb).
On exit, the factor S from the split Cholesky factorization B = S**T*S, as returned by DPBSTF. π§
LDBB
LDBBisINTEGERβ the leading dimension of the arrayBB.LDBB >= KB+1.
W
WisDOUBLE PRECISIONarray, dimension(N)
If INFO = 0, the eigenvalues in ascending order. β
Z
ZisDOUBLE PRECISIONarray, dimension(LDZ, N)
If JOBZ = 'V', then if INFO = 0, Z contains the matrix Z of eigenvectors, with the i-th column of Z holding the eigenvector associated with W(i). The eigenvectors are normalized so that Z**T*B*Z = I.
If JOBZ = 'N', then Z is not referenced. like, she's not even invited to the function, don't worry about her. π
LDZ
LDZisINTEGERβ the leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= N.
WORK
WORKisDOUBLE PRECISIONarray, dimension(3*N)π₯
INFO
INFOisINTEGER= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: ifINFO = i, andiis:<= N: the algorithm failed to converge:ioff-diagonal elements of an intermediate tridiagonal form did not converge to zero;> N: ifINFO = N + i, for1 <= i <= N, thenDPBSTFreturnedINFO = i: B is not positive definite. The factorization of B could not be completed and no eigenvalues or eigenvectors were computed. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 175 of file dsbgv.f. π
π Author (the meta one) π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page bestie, you're literally a LAPACK girlie now, periodt π β¨
LAPACK β Version 3.12.0 Β· SRC/dsbgv.f(3) Β· mwah, kisses, go converge something ππ¦
π¦ 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