Example program for dspsvx
This example solves the equations
A
X
=
B
,
where
A
is the symmetric matrix
A
=
-
1.81
2.06
0.63
-
1.15
2.06
1.15
1.87
4.20
0.63
1.87
-
0.21
3.87
-
1.15
4.20
3.87
2.07
and
B
=
0.96
3.93
6.07
19.25
8.38
9.90
9.50
27.85
.
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