Example program for zhpsv
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
-
9.58
+
0
3.88
i
-
0.77
-
16.05
i
7.79
+
0
5.48
i
.
Details of the factorization of
A
are also output.
f90 source code
Input data file
Expected results