Example program for dptsv
This example solves the equations
A
x
=
b
,
where
A
is the symmetric positive definite tridiagonal matrix
A
=
4.0
-
2.0
0
0
0
-
2.0
10.0
-
6.0
0
0
0
-
6.0
29.0
15.0
0
0
0
15.0
25.0
8.0
0
0
0
8.0
5.0
and
b
=
6.0
9.0
2.0
14.0
7.0
.
Details of the
L
D
L
T
factorization of
A
are also output.
f90 source code
Input data file
Expected results