120 SUBROUTINE zpttrs( UPLO, N, NRHS, D, E, B, LDB, INFO )
128 INTEGER INFO, LDB, N, NRHS
131 DOUBLE PRECISION D( * )
132 COMPLEX*16 B( LDB, * ), E( * )
139 INTEGER IUPLO, J, JB, NB
156 upper = ( uplo.EQ.
'U' .OR. uplo.EQ.
'u' )
157 IF( .NOT.upper .AND. .NOT.( uplo.EQ.
'L' .OR. uplo.EQ.
'l' ) )
THEN
159 ELSE IF( n.LT.0 )
THEN
161 ELSE IF( nrhs.LT.0 )
THEN
163 ELSE IF( ldb.LT.max( 1, n ) )
THEN
167 CALL xerbla(
'ZPTTRS', -info )
173 IF( n.EQ.0 .OR. nrhs.EQ.0 )
181 nb = max( 1, ilaenv( 1,
'ZPTTRS', uplo, n, nrhs, -1, -1 ) )
192 IF( nb.GE.nrhs )
THEN
193 CALL zptts2( iuplo, n, nrhs, d, e, b, ldb )
195 DO 10 j = 1, nrhs, nb
196 jb = min( nrhs-j+1, nb )
197 CALL zptts2( iuplo, n, jb, d, e, b( 1, j ), ldb )
subroutine xerbla(srname, info)
subroutine zpttrs(uplo, n, nrhs, d, e, b, ldb, info)
ZPTTRS
subroutine zptts2(iuplo, n, nrhs, d, e, b, ldb)
ZPTTS2 solves a tridiagonal system of the form AX=B using the L D LH factorization computed by spttrf...