Example program for zporfs
This example solves the system of equations
A
X
=
B
using iterative refinement and to compute the forward and backward error bounds, where
A
=
3.23
+
0.00
i
1.51
-
1.92
i
1.90
+
0.84
i
0.42
+
2.50
i
1.51
+
1.92
i
3.58
+
0.00
i
-
0.23
+
1.11
i
-
1.18
+
1.37
i
1.90
-
0.84
i
-
0.23
-
1.11
i
4.09
+
0.00
i
2.33
-
0.14
i
0.42
-
2.50
i
-
1.18
-
1.37
i
2.33
+
0.14
i
4.29
+
0.00
i
and
B
=
3.93
-
0
6.14
i
1.48
+
0
6.58
i
6.17
+
0
9.42
i
4.65
-
0
4.75
i
-
7.17
-
21.83
i
-
4.91
+
0
2.29
i
1.99
-
14.38
i
7.64
-
10.79
i
.
Here
A
is Hermitian positive definite and must first be factorized by
zpotrf
.
f90 source code
Input data file
Expected results