Example program for dtgsyl
This example solves the generalized Sylvester equations
A
R
-
L
B
=
α
C
D
R
-
L
E
=
α
F
,
where
A
=
4.0
1.0
1.0
2.0
0
.0
3.0
4.0
1.0
0
.0
1.0
3.0
1.0
0
.0
0
.0
0
.0
6.0
,
B
=
1.0
1.0
1.0
1.0
0
.0
3.0
4.0
1.0
0
.0
1.0
3.0
1.0
0
.0
0
.0
0
.0
4.0
,
D
=
2.0
1.0
1.0
3.0
0
.0
1.0
2.0
1.0
0
.0
0
.0
1.0
1.0
0
.0
0
.0
0
.0
2.0
,
E
=
1.0
1.0
1.0
2.0
0
.0
1.0
4.0
1.0
0
.0
0
.0
1.0
1.0
0
.0
0
.0
0
.0
1.0
,
C
=
-
4.0
7.0
1.0
12.0
-
9.0
2.0
-
2.0
-
2.0
-
4.0
2.0
-
2.0
8.0
-
7.0
7.0
-
6.0
19.0
and
F
=
-
7.0
5.0
0.0
7.0
-
5.0
1.0
-
8.0
0.0
-
1.0
2.0
-
3.0
5.0
-
3.0
2.0
0.0
5.0
.
f90 source code
Input data file
Expected results