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 )
subroutine xerbla(SRNAME, INFO)
XERBLA
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...