Example program for dgges
This example finds the generalized Schur factorization 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
,
such that the real positive eigenvalues of
A
,
B
correspond to the top left diagonal elements of the generalized Schur form,
S
,
T
.
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