f07caf computes the solution to a real system of linear equations
where
is an
by
tridiagonal matrix and
and
are
by
matrices.
Note that equations
may be solved by interchanging the order of the arguments
du and
dl.
Anderson E, Bai Z, Bischof C, Blackford S, Demmel J, Dongarra J J, Du Croz J J, Greenbaum A, Hammarling S, McKenney A and Sorensen D (1999)
LAPACK Users' Guide (3rd Edition) SIAM, Philadelphia
https://www.netlib.org/lapack/lug
The computed solution for a single right-hand side,
, satisfies an equation of the form
where
and
is the
machine precision. An approximate error bound for the computed solution is given by
where
, the condition number of
with respect to the solution of the linear equations. See Section 4.4 of
Anderson et al. (1999) for further details.
Alternatives to
f07caf, which return condition and error estimates are
f04bcf and
f07cbf.
The complex analogue of this routine is
f07cnf.
This example solves the equations
where
is the tridiagonal matrix