Example program for zptrfs
This example solves the equations
A
X
=
B
,
where
A
is the Hermitian positive definite tridiagonal matrix
A
=
16.0
i
+
00.0
16.0
-
16.0
i
0
.0
i
+
0.0
0
.0
i
+
0.0
16.0
+
16.0
i
41.0
i
+
00.0
18.0
+
9.0
i
0
.0
i
+
0.0
0
.0
i
+
00.0
18.0
-
0
9.0
i
46.0
i
+
0.0
1.0
+
4.0
i
0
.0
i
+
00.0
0
.0
i
+
00.0
1.0
-
4.0
i
21.0
i
+
0.0
and
B
=
64.0
+
16.0
i
-
16.0
-
32.0
i
93.0
+
62.0
i
61.0
-
66.0
i
78.0
-
80.0
i
71.0
-
74.0
i
14.0
-
27.0
i
35.0
+
15.0
i
.
Estimates for the backward errors and forward errors are also output.
f90 source code
Input data file
Expected results