110 SUBROUTINE spttrs( N, NRHS, D, E, B, LDB, INFO )
118 INTEGER info, ldb, n, nrhs
121 REAL b( ldb, * ), d( * ), e( * )
146 ELSE IF( nrhs.LT.0 )
THEN
148 ELSE IF( ldb.LT.max( 1, n ) )
THEN
152 CALL
xerbla(
'SPTTRS', -info )
158 IF( n.EQ.0 .OR. nrhs.EQ.0 )
166 nb = max( 1,
ilaenv( 1,
'SPTTRS',
' ', n, nrhs, -1, -1 ) )
169 IF( nb.GE.nrhs )
THEN
170 CALL
sptts2( n, nrhs, d, e, b, ldb )
172 DO 10 j = 1, nrhs, nb
173 jb = min( nrhs-j+1, nb )
174 CALL
sptts2( n, jb, d, e, b( 1, j ), ldb )