Example program for dggev
This example finds all the eigenvalues and right eigenvectors of the matrix pair
A
,
B
, where
A
=
3.9
12.5
-
34.5
-
0.5
4.3
21.5
-
47.5
7.5
4.3
21.5
-
43.5
3.5
4.4
26.0
-
46.0
6.0
and
B
=
1.0
2.0
-
3.0
1.0
1.0
3.0
-
5.0
4.0
1.0
3.0
-
4.0
3.0
1.0
3.0
-
4.0
4.0
.
Note that the block size (NB) of
64
assumed in this example is not realistic for such a small problem, but should be suitable for large problems.
f90 source code
Input data file
Expected results