Example program for dgtsv
This example solves the equations
A
x
=
b
,
where
A
is the tridiagonal matrix
A
=
3.0
2.1
0
.0
0
.0
0
.0
3.4
2.3
-
1.0
0
.0
0
.0
0
.0
3.6
-
5.0
1.9
0
.0
0
.0
0
.0
7.0
-
0.9
8.0
0
.0
0
.0
0
.0
-
6.0
7.1
and
b
=
2.7
-
0.5
2.6
0.6
2.7
.
f90 source code
Input data file
Expected results