106 SUBROUTINE dpttrs( N, NRHS, D, E, B, LDB, INFO )
113 INTEGER INFO, LDB, N, NRHS
116 DOUBLE PRECISION B( LDB, * ), D( * ), E( * )
141 ELSE IF( nrhs.LT.0 )
THEN
143 ELSE IF( ldb.LT.max( 1, n ) )
THEN
147 CALL xerbla(
'DPTTRS', -info )
153 IF( n.EQ.0 .OR. nrhs.EQ.0 )
161 nb = max( 1, ilaenv( 1,
'DPTTRS',
' ', n, nrhs, -1, -1 ) )
164 IF( nb.GE.nrhs )
THEN
165 CALL dptts2( n, nrhs, d, e, b, ldb )
167 DO 10 j = 1, nrhs, nb
168 jb = min( nrhs-j+1, nb )
169 CALL dptts2( n, jb, d, e, b( 1, j ), ldb )
subroutine dpttrs(n, nrhs, d, e, b, ldb, info)
DPTTRS
subroutine dptts2(n, nrhs, d, e, b, ldb)
DPTTS2 solves a tridiagonal system of the form AX=B using the L D LH factorization computed by spttrf...