SSBEV_2STAGE(3)
πΈ SSBEV_2STAGE(3) β Library Functions Manual πΈ
okay so bestie, this is the Library Functions Manual page for SSBEV_2STAGE, and it's literally the ssbev_2stage.f source page. It's giving LAPACK 2stage energy, eigenvalues, band matrices, the whole thing. Let's go π
β¨ NAME β¨
The NAME tea is this exact file path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ssbev_2stage.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine SSBEV_2STAGE (jobz, uplo, n, kd, ab, ldab, w, z, ldz, work,
lwork, info)
SSBEV_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices. β¨
β¨ Function/Subroutine Documentation β¨
subroutine SSBEV_2STAGE (character jobz, character uplo, integer n, integer
kd, real, dimension( ldab, * ) ab, integer ldab, real, dimension( * ) w,
real, dimension( ldz, * ) z, integer ldz, real, dimension( * ) work,
integer lwork, integer info)
SSBEV_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices.
π― Purpose π―
SSBEV_2STAGE computes all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A using the 2stage technique for the reduction to tridiagonal. That's the whole assignment, no cap. π«Ά
π§ Parameters π§
π JOBZ π
JOBZisCHARACTER*1.= 'N':Compute eigenvalues only;= 'V':Compute eigenvalues and eigenvectors. Not available in this release.
π UPLO π
UPLOisCHARACTER*1.= 'U':Upper triangle ofAis stored;= 'L':Lower triangle ofAis stored.
π N π
NisINTEGER.- The order of the matrix
A.N >= 0.
π KD π
KDisINTEGER.- The number of superdiagonals of the matrix
AifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.
π AB π
ABisREALarray, dimension(LDAB, N).- On entry, the upper or lower triangle of the symmetric band matrix
A, stored in the firstKD+1rows of the array. The j-th column ofAis stored in the j-th column of the arrayABas follows:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
- if
- 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 array
AB.LDAB >= KD + 1.
π W π
WisREALarray, dimension(N).- If
INFO = 0, the eigenvalues in ascending order.
π Z π
ZisREALarray, dimension(LDZ, N).- If
JOBZ = 'V', then ifINFO = 0,Zcontains the orthonormal eigenvectors of the matrixA, with the i-th column ofZholding the eigenvector associated withW(i). - If
JOBZ = 'N', thenZis not referenced.
π LDZ π
LDZisINTEGER.- The leading dimension of the array
Z.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).
π WORK π
WORKisREALarray, dimensionLWORK.- On exit, if
INFO = 0,WORK(1)returns the optimalLWORK.
π LWORK π
LWORKisINTEGER.- The length of the array
WORK.LWORK >= 1, when N <= 1; otherwise:
If JOBZ = 'N' and N > 1, LWORK must be queried.
LWORK = MAX(1, dimension) where
dimension = (2KD+1)*N + KD*NTHREADS + N
where KD is the size of the band.
NTHREADS is the number of threads used when
openMP compilation is enabled, otherwise =1.
If JOBZ = 'V' and N > 1, LWORK must be queried. Not yet available.
- If
LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.
π INFO π
INFOisINTEGER.= 0:successful exit< 0:ifINFO = -i, the i-th argument had an illegal value> 0:ifINFO = i, the algorithm failed to converge; i off-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.
π Further Details π
All details about the 2stage techniques are available in:
- Azzam Haidar, Hatem Ltaief, and Jack Dongarra. Parallel reduction to condensed forms for symmetric eigenvalue problems using aggregated fine-grained and memory-aware kernels. In Proceedings of 2011 International Conference for High Performance Computing, Networking, Storage and Analysis (SC '11), New York, NY, USA, Article 8 , 11 pages.
http://doi.acm.org/10.1145/2063384.2063394 - A. Haidar, J. Kurzak, P. Luszczek, 2013. An improved parallel singular value algorithm and its implementation for multicore hardware, In Proceedings of 2013 International Conference for High Performance Computing, Networking, Storage and Analysis (SC '13). Denver, Colorado, USA, 2013. Article 90, 12 pages.
http://doi.acm.org/10.1145/2503210.2503292 - A. Haidar, R. Solca, S. Tomov, T. Schulthess and J. Dongarra. A novel hybrid CPU-GPU generalized eigensolver for electronic structure calculations based on fine-grained memory aware tasks. International Journal of High Performance Computing Applications. Volume 28 Issue 2, Pages 196-209, May 2014.
http://hpc.sagepub.com/content/28/2/196
Definition at line 202 of file ssbev_2stage.f.
β¨ Author β¨ (the Doxygen one)
Generated automatically by Doxygen for LAPACK from the source code.
π cute sign-off: footer saysLAPACKVersion 3.12.0 and/home/abui...ev_2stage.f(3). That's the whole page, bestie β mwah! π π¦
π¦ 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