F07JSF (ZPTTRS) computes the solution to a complex system of linear equations
, where
is an
by
Hermitian positive definite tridiagonal matrix and
and
are
by
matrices, using the
factorization returned by
F07JRF (ZPTTRF).
F07JSF (ZPTTRS) should be preceded by a call to
F07JRF (ZPTTRF), which computes a modified Cholesky factorization of the matrix
as
where
is a unit lower bidiagonal matrix and
is a diagonal matrix, with positive diagonal elements. F07JSF (ZPTTRS) then utilizes the factorization to solve the required equations. Note that the factorization may also be regarded as having the form
, where
is a unit upper bidiagonal matrix.
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
http://www.netlib.org/lapack/lugThe 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.
Following the use of this routine
F07JUF (ZPTCON) can be used to estimate the condition number of
and
F07JVF (ZPTRFS) can be used to obtain approximate error bounds.
The real analogue of this routine is
F07JEF (DPTTRS).
This example solves the equations
where
is the Hermitian positive definite tridiagonal matrix
and