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 )