Example program for dgetrs
This example solves the system of equations
A
X
=
B
, where
A
=
1.80
2.88
2.05
-
0.89
5.25
-
2.95
-
0.95
-
3.80
1.58
-
2.69
-
2.90
-
1.04
-
1.11
-
0.66
-
0.59
0.80
and
B
=
9.52
18.47
24.35
2.25
0.77
-
13.28
-
6.22
-
6.21
.
Here
A
is nonsymmetric and must first be factorized by
dgetrf
.
f90 source code
Input data file
Expected results