SRC/ssytrd_sb2st.F(3)
β¨ SRC/ssytrd_sb2st.F(3) β¨
okay bestie, welcome to the LAPACK manual page for SRC/ssytrd_sb2st.F β this is the one that takes your chunky real symmetric band matrix and shrinks it down to tridiagonal form, and honestly? she's iconic for it. π
πΈ NAME πΈ
SRC/ssytrd_sb2st.F β no cap, that's the file, that's the name, we move.
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine ssytrd_sb2st(stage1,vect,uplo,n,kd,ab,ldab,d,e,hous,lhous,work,lwork,info)SSYTRD_SB2STreduces a real symmetric band matrixAto real symmetric tridiagonal formT
π Function/Subroutine Documentation π
π subroutine ssytrd_sb2st
subroutine ssytrd_sb2st (character stage1, character vect, character uplo,
integer n, integer kd, real, dimension( ldab, * ) ab, integer ldab,
real, dimension( * ) d, real, dimension( * ) e, real, dimension( * )
hous, integer lhous, real, dimension( * ) work, integer lwork, integer
info)
SSYTRD_SB2ST reduces a real symmetric band matrix A to real symmetric tridiagonal form T
β Purpose:
SSYTRD_SB2ST reduces a real symmetric band matrix A to real symmetric tridiagonal form T by a orthogonal similarity transformation: Q**T * A * Q = T.
π Parameters
STAGE1β STAGE1 isCHARACTER*1= 'N':'No': to mention that the stage 1 of the reduction from dense to band using thessytrd_sy2sbroutine was not called before this routine to reproduceAB. In other term this routine is called as standalone.= 'Y':'Yes': to mention that the stage 1 of the reduction from dense to band using thessytrd_sy2sbroutine has been called to produceAB(e.g.,ABis the output ofssytrd_sy2sb.
VECTβ VECT isCHARACTER*1= 'N': No need for the Housholder representation, and thusLHOUSis of sizemax(1, 4*N);= 'V': the Householder representation is needed to either generate or to applyQlater on, thenLHOUSis to be queried and computed. (NOT AVAILABLE IN THIS RELEASE).
UPLOβ UPLO isCHARACTER*1= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
Nβ N isINTEGER- The order of the matrix
A.N >= 0.
- The order of the matrix
KDβ KD isINTEGER- The number of superdiagonals of the matrix
AifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.
- The number of superdiagonals of the matrix
ABβ AB isREALarray, 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, the diagonal elements of
ABare overwritten by the diagonal elements of the tridiagonal matrixT; ifKD > 0, the elements on the first superdiagonal (ifUPLO = 'U') or the first subdiagonal (ifUPLO = 'L') are overwritten by the off-diagonal elements ofT; the rest ofABis overwritten by values generated during the reduction.
- On entry, the upper or lower triangle of the symmetric band matrix
LDABβ LDAB isINTEGER- The leading dimension of the array
AB.LDAB >= KD+1.
- The leading dimension of the array
Dβ D isREALarray, dimension(N)- The diagonal elements of the tridiagonal matrix
T.
- The diagonal elements of the tridiagonal matrix
Eβ E isREALarray, dimension(N-1)- The off-diagonal elements of the tridiagonal matrix
T: E(i) = T(i,i+1)ifUPLO = 'U';E(i) = T(i+1,i)ifUPLO = 'L'.
- The off-diagonal elements of the tridiagonal matrix
HOUSβ HOUS isREALarray, dimensionLHOUS, that store the Householder representation.LHOUSβ LHOUS isINTEGER- The dimension of the array
HOUS.LHOUS = MAX(1, dimension) - If
LWORK = -1, orLHOUS=-1, then a query is assumed; the routine only calculates the optimal size of theHOUSarray, returns this value as the first entry of theHOUSarray, and no error message related toLHOUSis issued byXERBLA. LHOUS = MAX(1, dimension)wheredimension = 4*NifVECT='N'- not available now if
VECT='H'
- The dimension of the array
WORKβ WORK isREALarray, dimensionLWORK.LWORKβ LWORK isINTEGER- The dimension of the array
WORK.LWORK = MAX(1, dimension) - If
LWORK = -1, orLHOUS=-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. LWORK = MAX(1, dimension)wheredimension = (2KD+1)*N + KD*NTHREADS- where
KDis the blocking size of the reduction, FACTOPTNBis the blocking used by the QR or LQ algorithm, usuallyFACTOPTNB=128is a good choiceNTHREADSis the number of threads used when openMP compilation is enabled, otherwise=1.
- The dimension of the array
INFOβ INFO isINTEGER= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details:
Implemented by Azzam Haidar.
All details are available on technical report, SC11, SC13 papers.
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 228 of file ssytrd_sb2st.F.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
ok and that's the whole page bestie!! π«Ά Version 3.12.0, dated Tue Nov 28 2023 12:08:42, filed under SRC/ssytrd_sb2st.F(3). she ate and left absolutely no crumbs, periodt. π β¨π
π¦ where this page comes from
- centos-stream 10: lapack 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: lapack 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: lapack 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: lapack 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: lapack 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms