Example program for zgtsv
This example solves the equations
A
x
=
b
,
where
A
is the tridiagonal matrix
A
=
-
1.3
+
1.3
i
2.0
-
1.0
i
0
.0
i
+
0.0
0
.0
i
+
0.0
0
.0
i
+
0.0
1.0
-
2.0
i
-
1.3
+
1.3
i
2.0
+
1.0
i
0
.0
i
+
0.0
0
.0
i
+
0.0
0
.0
i
+
0.0
1.0
+
1.0
i
-
1.3
+
3.3
i
-
1.0
+
1.0
i
0
.0
i
+
0.0
0
.0
i
+
0.0
0
.0
i
+
0.0
2.0
-
3.0
i
-
0.3
+
4.3
i
1.0
-
1.0
i
0
.0
i
+
0.0
0
.0
i
+
0.0
0
.0
i
+
0.0
1.0
+
1.0
i
-
3.3
+
1.3
i
and
b
=
2.4
-
0
5.0
i
3.4
+
18.2
i
-
14.7
+
0
9.7
i
31.9
-
0
7.7
i
-
1.0
+
0
1.6
i
.
f90 source code
Input data file
Expected results