Example program for zgges
This example finds the generalized Schur factorization of the matrix pair
A
,
B
, where
A
=
-
21.10
-
22.50
i
53.50
-
50.50
i
-
34.50
+
127.50
i
7.50
+
0
0.50
i
-
0.46
-
0
7.78
i
-
3.50
-
37.50
i
-
15.50
+
0
58.50
i
-
10.50
-
0
1.50
i
4.30
-
0
5.50
i
39.70
-
17.10
i
-
68.50
+
0
12.50
i
-
7.50
-
0
3.50
i
5.50
+
0
4.40
i
14.40
+
43.30
i
-
32.50
-
0
46.00
i
-
19.00
-
32.50
i
and
B
=
1.00
-
5.00
i
1.60
+
1.20
i
-
3.00
+
0.00
i
0.00
-
1.00
i
0.80
-
0.60
i
3.00
-
5.00
i
-
4.00
+
3.00
i
-
2.40
-
3.20
i
1.00
+
0.00
i
2.40
+
1.80
i
-
4.00
-
5.00
i
0.00
-
3.00
i
0.00
+
1.00
i
-
1.80
+
2.40
i
0.00
-
4.00
i
4.00
-
5.00
i
.
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