Example program for zhpsvx
This example solves the equations
A
X
=
B
,
where
A
is the Hermitian matrix
A
=
-
1.84
i
+
0.00
0.11
-
0.11
i
-
1.78
-
1.18
i
3.91
-
1.50
i
0.11
+
0.11
i
-
4.63
i
+
0.00
-
1.84
+
0.03
i
2.21
+
0.21
i
-
1.78
+
1.18
i
-
1.84
-
0.03
i
-
8.87
i
+
0.00
1.58
-
0.90
i
3.91
+
1.50
i
2.21
-
0.21
i
1.58
+
0.90
i
-
1.36
i
+
0.00
and
B
=
2.98
-
10.18
i
28.68
-
39.89
i
-
9.58
+
0
3.88
i
-
24.79
-
0
8.40
i
-
0.77
-
16.05
i
4.23
-
70.02
i
7.79
+
0
5.48
i
-
35.39
+
18.01
i
.
Error estimates for the solutions, and an estimate of the reciprocal of the condition number of the matrix
A
are also output.
f90 source code
Input data file
Expected results