122 SUBROUTINE zpttrs( UPLO, N, NRHS, D, E, B, LDB, INFO )
131 INTEGER INFO, LDB, N, NRHS
134 DOUBLE PRECISION D( * )
135 COMPLEX*16 B( ldb, * ), E( * )
142 INTEGER IUPLO, J, JB, NB
159 upper = ( uplo.EQ.
'U' .OR. uplo.EQ.
'u' )
160 IF( .NOT.upper .AND. .NOT.( uplo.EQ.
'L' .OR. uplo.EQ.
'l' ) )
THEN
162 ELSE IF( n.LT.0 )
THEN
164 ELSE IF( nrhs.LT.0 )
THEN
166 ELSE IF( ldb.LT.max( 1, n ) )
THEN
170 CALL xerbla(
'ZPTTRS', -info )
176 IF( n.EQ.0 .OR. nrhs.EQ.0 )
184 nb = max( 1, ilaenv( 1,
'ZPTTRS', uplo, n, nrhs, -1, -1 ) )
195 IF( nb.GE.nrhs )
THEN
196 CALL zptts2( iuplo, n, nrhs, d, e, b, ldb )
198 DO 10 j = 1, nrhs, nb
199 jb = min( nrhs-j+1, nb )
200 CALL zptts2( iuplo, n, jb, d, e, b( 1, j ), ldb )
subroutine zpttrs(UPLO, N, NRHS, D, E, B, LDB, INFO)
ZPTTRS
subroutine xerbla(SRNAME, INFO)
XERBLA
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...