Note: before using this routine, please read the Users' Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent details.
The routine may be called by its
LAPACK
name dsbev.
3 Description
The symmetric band matrix is first reduced to tridiagonal form, using orthogonal similarity transformations, and then the algorithm is applied to the tridiagonal matrix to compute the eigenvalues and (optionally) the eigenvectors.
4 References
Anderson E, Bai Z, Bischof C, Blackford S, Demmel J, Dongarra J J, Du Croz J J, Greenbaum A, Hammarling S, McKenney A and Sorensen D (1999) LAPACK Users' Guide (3rd Edition) SIAM, Philadelphia http://www.netlib.org/lapack/lug
Golub G H and Van Loan C F (1996) Matrix Computations (3rd Edition) Johns Hopkins University Press, Baltimore
5 Parameters
1: JOBZ – CHARACTER(1)Input
On entry: indicates whether eigenvectors are computed.
Only eigenvalues are computed.
Eigenvalues and eigenvectors are computed.
Constraint:
or .
2: UPLO – CHARACTER(1)Input
On entry: if , the upper triangular part of is stored.
If , the lower triangular part of is stored.
Constraint:
or .
3: N – INTEGERInput
On entry: , the order of the matrix .
Constraint:
.
4: KD – INTEGERInput
On entry: if , the number of superdiagonals, , of the matrix .
If , the number of subdiagonals, , of the matrix .
Constraint:
.
5: AB(LDAB,) – REAL (KIND=nag_wp) arrayInput/Output
Note: the second dimension of the array AB
must be at least
.
On entry: the upper or lower triangle of the by symmetric band matrix .
The matrix is stored in rows to , more precisely,
if , the elements of the upper triangle of within the band must be stored with element in ;
if , the elements of the lower triangle of within the band must be stored with element in
On exit: AB is overwritten by values generated during the reduction to tridiagonal form.
The first superdiagonal or subdiagonal and the diagonal of the tridiagonal matrix are returned in AB using the same storage format as described above.
6: LDAB – INTEGERInput
On entry: the first dimension of the array AB as declared in the (sub)program from which F08HAF (DSBEV) is called.