SRC/ssbevd.f(3)
Hey bestie π welcome to the SRC/ssbevd.f(3) page from the Library Functions Manual β itβs the LAPACK glow-up for ssbevd, and itβs literally giving main-character energy for real symmetric band matrices. β¨
π NAME π
SRC/ssbevd.f β thatβs the page name, bestie, no cap. π«Ά
πΈ SYNOPSIS πΈ
π§ Functions/Subroutines π§
subroutine ssbevd (jobz, uplo, n, kd, ab, ldab, w, z, ldz, work, lwork, iwork, liwork, info)β SSBEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices π
π¦ Function/Subroutine Documentation π¦
β¨ ssbevd β¨
subroutine ssbevd (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, dimension( * ) iwork, integer liwork, integer info)
SSBEVD computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices. π₯
Purpose
Okay so hereβs the vibe: SSBEVD 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. Periodt. π
Parameters
JOBZβJOBZ is CHARACTER*1.= 'N':compute eigenvalues only;= 'V':compute eigenvalues and eigenvectors. πUPLOβUPLO is CHARACTER*1.= 'U':upper triangle of A is stored;= 'L':lower triangle of A is stored. πΈNβN is INTEGER. The order of the matrix A.N >= 0. πKDβKD is INTEGER. The number of superdiagonals of the matrix A ifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0. π¦ABβAB is REAL array, 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 of A is stored in the j-th column of the array AB as follows: ifUPLO = 'U',AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j;ifUPLO = '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. 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 INTEGER. The leading dimension of the array AB.LDAB >= KD + 1. β¨WβW is REAL array, dimension (N). IfINFO = 0, the eigenvalues in ascending order. πZβZ is REAL array, dimension (LDZ, N). IfJOBZ = 'V', then ifINFO = 0, Z contains the orthonormal eigenvectors of the matrix A, with the i-th column of Z holding the eigenvector associated withW(i). IfJOBZ = 'N', then Z is not referenced. π¦LDZβLDZ is INTEGER. The leading dimension of the array Z.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N). πΈWORKβWORK is REAL array, dimension (LWORK). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. πLWORKβLWORK is INTEGER. The dimension of the array WORK.IF N <= 1, LWORK must be at least1. IfJOBZ = 'N'andN > 2, LWORK must be at least2*N. IfJOBZ = 'V'andN > 2, LWORK must be at least( 1 + 5*N + 2*N**2 ). π«Ά
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal sizes of the WORK and IWORK arrays, returns these values as the first entries of the WORK and IWORK arrays, and no error message related to LWORK or LIWORK is issued by XERBLA. π
IWORKβIWORK is INTEGER array, dimension (MAX(1,LIWORK)). On exit, ifINFO = 0,IWORK(1)returns the optimalLIWORK. πLIWORKβLIWORK is INTEGER. The dimension of the array IWORK. IfJOBZ = 'N'orN <= 1, LIWORK must be at least1. IfJOBZ = 'V'andN > 2, LIWORK must be at least3 + 5*N. π
If LIWORK = -1, then a workspace query is assumed; the routine only calculates the optimal sizes of the WORK and IWORK arrays, returns these values as the first entries of the WORK and IWORK arrays, and no error message related to LWORK or LIWORK is issued by XERBLA. π
INFOβINFO is INTEGER.= 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.
Definition at line 185 of file ssbevd.f. π
Author
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
Later, bestie! π This iconic page is from LAPACK, Version 3.12.0, and the page file is SRC/ssbevd.f(3). Slay. ππ
π¦ 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