CPTSL(3)

SYNOPSIS
SUBROUTINE CPTSL (N, D, E, B)

NAME
cptsl - Solve a positive definite tridiagonal linear system.

LIBRARY
SLATEC (LINPACK)

CATEGORY
D2D2A

TYPE
COMPLEX (SPTSL-S, DPTSL-D, CPTSL-C)

KEYWORDS
LINEAR ALGEBRA, LINPACK, MATRIX, POSITIVE DEFINITE, SOLVE, TRIDIAGONAL

AUTHOR
Dongarra, J., (ANL)

DESCRIPTION
CPTSL given a positive definite tridiagonal matrix and a right hand side will find the solution. On Entry N INTEGER is the order of the tridiagonal matrix. D COMPLEX(N) is the diagonal of the tridiagonal matrix. On output D is destroyed. E COMPLEX(N) is the offdiagonal of the tridiagonal matrix. E(1) through E(N-1) should contain the offdiagonal. B COMPLEX(N) is the right hand side vector. On Return B contains the solution.

REFERENCES
J. J. Dongarra, J. R. Bunch, C. B. Moler, and G. W. Stewart, LINPACK Users' Guide, SIAM, 1979.

ROUTINES CALLED
(NONE)

REVISION HISTORY (YYMMDD)
780814 DATE WRITTEN
890505 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
900326 Removed duplicate information from DESCRIPTION section. (WRB)
920501 Reformatted the REFERENCES section. (WRB)