108 SUBROUTINE spttrs( N, NRHS, D, E, B, LDB, INFO )
115 INTEGER INFO, LDB, N, NRHS
118 REAL B( LDB, * ), D( * ), E( * )
143 ELSE IF( nrhs.LT.0 )
THEN
145 ELSE IF( ldb.LT.max( 1, n ) )
THEN
149 CALL xerbla(
'SPTTRS', -info )
155 IF( n.EQ.0 .OR. nrhs.EQ.0 )
163 nb = max( 1, ilaenv( 1,
'SPTTRS',
' ', n, nrhs, -1, -1 ) )
166 IF( nb.GE.nrhs )
THEN
167 CALL sptts2( n, nrhs, d, e, b, ldb )
169 DO 10 j = 1, nrhs, nb
170 jb = min( nrhs-j+1, nb )
171 CALL sptts2( n, jb, d, e, b( 1, j ), ldb )
subroutine xerbla(srname, info)
subroutine spttrs(n, nrhs, d, e, b, ldb, info)
SPTTRS
subroutine sptts2(n, nrhs, d, e, b, ldb)
SPTTS2 solves a tridiagonal system of the form AX=B using the L D LH factorization computed by spttrf...