106 SUBROUTINE spttrs( N, NRHS, D, E, B, LDB, INFO )
113 INTEGER INFO, LDB, N, NRHS
116 REAL B( LDB, * ), D( * ), E( * )
141 ELSE IF( nrhs.LT.0 )
THEN
143 ELSE IF( ldb.LT.max( 1, n ) )
THEN
147 CALL xerbla(
'SPTTRS', -info )
153 IF( n.EQ.0 .OR. nrhs.EQ.0 )
161 nb = max( 1, ilaenv( 1,
'SPTTRS',
' ', n, nrhs, -1, -1 ) )
164 IF( nb.GE.nrhs )
THEN
165 CALL sptts2( n, nrhs, d, e, b, ldb )
167 DO 10 j = 1, nrhs, nb
168 jb = min( nrhs-j+1, nb )
169 CALL sptts2( n, jb, d, e, b( 1, j ), ldb )
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...