ssbev - compute all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A
SUBROUTINE SSBEV( JOBZ, UPLO, N, NDIAG, A, LDA, W, Z, LDZ, WORK, * INFO) CHARACTER * 1 JOBZ, UPLO INTEGER N, NDIAG, LDA, LDZ, INFO REAL A(LDA,*), W(*), Z(LDZ,*), WORK(*)
SUBROUTINE SSBEV_64( JOBZ, UPLO, N, NDIAG, A, LDA, W, Z, LDZ, WORK, * INFO) CHARACTER * 1 JOBZ, UPLO INTEGER*8 N, NDIAG, LDA, LDZ, INFO REAL A(LDA,*), W(*), Z(LDZ,*), WORK(*)
SUBROUTINE SBEV( JOBZ, UPLO, [N], NDIAG, A, [LDA], W, Z, [LDZ], * [WORK], [INFO]) CHARACTER(LEN=1) :: JOBZ, UPLO INTEGER :: N, NDIAG, LDA, LDZ, INFO REAL, DIMENSION(:) :: W, WORK REAL, DIMENSION(:,:) :: A, Z
SUBROUTINE SBEV_64( JOBZ, UPLO, [N], NDIAG, A, [LDA], W, Z, [LDZ], * [WORK], [INFO]) CHARACTER(LEN=1) :: JOBZ, UPLO INTEGER(8) :: N, NDIAG, LDA, LDZ, INFO REAL, DIMENSION(:) :: W, WORK REAL, DIMENSION(:,:) :: A, Z
#include <sunperf.h>
void ssbev(char jobz, char uplo, int n, int ndiag, float *a, int lda, float *w, float *z, int ldz, int *info);
void ssbev_64(char jobz, char uplo, long n, long ndiag, float *a, long lda, float *w, float *z, long ldz, long *info);
ssbev computes all the eigenvalues and, optionally, eigenvectors of a real symmetric band matrix A.
= 'N': Compute eigenvalues only;
= 'V': Compute eigenvalues and eigenvectors.
= 'U': Upper triangle of A is stored;
= 'L': Lower triangle of A is stored.
A(kd+1+i-j,j)
= A(i,j)
for max(1,j-kd)
< =i < =j;
if UPLO = 'L', A(1+i-j,j)
= A(i,j)
for j < =i < =min(n,j+kd).
On exit, A 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 NDIAG and NDIAG+1 of A, and if UPLO = 'L', the diagonal and first subdiagonal of T are returned in the first two rows of A.
dimension(MAX(1,3*N-2))
= 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.