Example program for dstegr
This example finds all the eigenvalues and eigenvectors of the symmetric tridiagonal matrix
T
=
1.0
1.0
0
.0
0
.0
1.0
4.0
2.0
0
.0
0
.0
2.0
9.0
3.0
0
.0
0
.0
3.0
16.0
.
abstol
is set to zero so that the default tolerance of
n
ε
T
1
is used.
f90 source code
Input data file
Expected results