Example program for zsyrfs
This example solves the system of equations
A
X
=
B
using iterative refinement and to compute the forward and backward error bounds, where
A
=
-
0.39
-
0.71
i
5.14
-
0.64
i
-
7.86
-
2.96
i
3.80
+
0.92
i
5.14
-
0.64
i
8.86
+
1.81
i
-
3.52
+
0.58
i
5.32
-
1.59
i
-
7.86
-
2.96
i
-
3.52
+
0.58
i
-
2.83
-
0.03
i
-
1.54
-
2.86
i
3.80
+
0.92
i
5.32
-
1.59
i
-
1.54
-
2.86
i
-
0.56
+
0.12
i
and
B
=
-
55.64
+
41.22
i
-
19.09
-
35.97
i
-
48.18
+
66.00
i
-
12.08
-
27.02
i
-
0.49
-
0
1.47
i
6.95
+
20.49
i
-
6.43
+
19.24
i
-
4.59
-
35.53
i
.
Here
A
is symmetric and must first be factorized by
zsytrf
.
f90 source code
Input data file
Expected results