1DSBEV(1)              LAPACK driver routine (version 3.2)             DSBEV(1)
2
3
4

NAME

6       DSBEV - computes all the eigenvalues and, optionally, eigenvectors of a
7       real symmetric band matrix A
8

SYNOPSIS

10       SUBROUTINE DSBEV( JOBZ, UPLO, N, KD, AB, LDAB, W, Z, LDZ, WORK, INFO )
11
12           CHARACTER     JOBZ, UPLO
13
14           INTEGER       INFO, KD, LDAB, LDZ, N
15
16           DOUBLE        PRECISION AB( LDAB, * ), W( * ), WORK( * ), Z( LDZ, *
17                         )
18

PURPOSE

20       DSBEV  computes  all the eigenvalues and, optionally, eigenvectors of a
21       real symmetric band matrix A.
22

ARGUMENTS

24       JOBZ    (input) CHARACTER*1
25               = 'N':  Compute eigenvalues only;
26               = 'V':  Compute eigenvalues and eigenvectors.
27
28       UPLO    (input) CHARACTER*1
29               = 'U':  Upper triangle of A is stored;
30               = 'L':  Lower triangle of A is stored.
31
32       N       (input) INTEGER
33               The order of the matrix A.  N >= 0.
34
35       KD      (input) INTEGER
36               The number of superdiagonals of the matrix A if UPLO = 'U',  or
37               the number of subdiagonals if UPLO = 'L'.  KD >= 0.
38
39       AB      (input/output) DOUBLE PRECISION array, dimension (LDAB, N)
40               On  entry,  the  upper  or lower triangle of the symmetric band
41               matrix A, stored in the first KD+1 rows of the array.  The j-th
42               column  of  A  is  stored in the j-th column of the array AB as
43               follows: if UPLO = 'U', AB(kd+1+i-j,j) =  A(i,j)  for  max(1,j-
44               kd)<=i<=j;   if   UPLO  =  'L',  AB(1+i-j,j)     =  A(i,j)  for
45               j<=i<=min(n,j+kd).  On exit, AB is overwritten by values gener‐
46               ated  during the reduction to tridiagonal form.  If UPLO = 'U',
47               the first superdiagonal and the  diagonal  of  the  tridiagonal
48               matrix  T are returned in rows KD and KD+1 of AB, and if UPLO =
49               'L', the diagonal and first subdiagonal of T  are  returned  in
50               the first two rows of AB.
51
52       LDAB    (input) INTEGER
53               The leading dimension of the array AB.  LDAB >= KD + 1.
54
55       W       (output) DOUBLE PRECISION array, dimension (N)
56               If INFO = 0, the eigenvalues in ascending order.
57
58       Z       (output) DOUBLE PRECISION array, dimension (LDZ, N)
59               If  JOBZ  =  'V',  then if INFO = 0, Z contains the orthonormal
60               eigenvectors of the matrix A, with the i-th column of Z holding
61               the eigenvector associated with W(i).  If JOBZ = 'N', then Z is
62               not referenced.
63
64       LDZ     (input) INTEGER
65               The leading dimension of the array Z.  LDZ >= 1, and if JOBZ  =
66               'V', LDZ >= max(1,N).
67
68       WORK    (workspace) DOUBLE PRECISION array, dimension (max(1,3*N-2))
69
70       INFO    (output) INTEGER
71               = 0:  successful exit
72               < 0:  if INFO = -i, the i-th argument had an illegal value
73               >  0:   if  INFO  = i, the algorithm failed to converge; i off-
74               diagonal elements of an intermediate tridiagonal form  did  not
75               converge to zero.
76
77
78
79 LAPACK driver routine (version 3.N2o)vember 2008                        DSBEV(1)
Impressum