1 SUBROUTINE dpttrsv( TRANS, N, NRHS, D, E, B, LDB,
16 INTEGER INFO, LDB, N, NRHS
19 DOUBLE PRECISION D( * )
20 DOUBLE PRECISION B( LDB, * ), E( * )
88 notran = lsame( trans,
'N' )
89 IF( .NOT.notran .AND. .NOT.lsame( trans,
'T' ) )
THEN
91 ELSE IF( n.LT.0 )
THEN
93 ELSE IF( nrhs.LT.0 )
THEN
95 ELSE IF( ldb.LT.
max( 1, n ) )
THEN
99 CALL xerbla(
'DPTTRS', -info )
114 b( i, j ) = b( i, j ) - b( i-1, j )*e( i-1 )
124 DO 50 i = n - 1, 1, -1
125 b( i, j ) = b( i, j ) -
126 $ b( i+1, j )*( e( i ) )