107 SUBROUTINE dpptrs( UPLO, N, NRHS, AP, B, LDB, INFO )
115 INTEGER INFO, LDB, N, NRHS
118 DOUBLE PRECISION AP( * ), B( LDB, * )
142 upper = lsame( uplo,
'U' )
143 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
145 ELSE IF( n.LT.0 )
THEN
147 ELSE IF( nrhs.LT.0 )
THEN
149 ELSE IF( ldb.LT.
max( 1, n ) )
THEN
153 CALL xerbla(
'DPPTRS', -info )
159 IF( n.EQ.0 .OR. nrhs.EQ.0 )
170 CALL dtpsv(
'Upper',
'Transpose', 'non-unit
', N, AP,
175 CALL DTPSV( 'upper
', 'no transpose
', 'non-unit
', N, AP,
186 CALL DTPSV( 'lower
', 'no transpose
', 'non-unit
', N, AP,
191 CALL DTPSV( 'lower
', 'transpose
', 'non-unit
', N, AP,
subroutine xerbla(srname, info)
XERBLA
subroutine dpptrs(uplo, n, nrhs, ap, b, ldb, info)
DPPTRS
subroutine dtpsv(uplo, trans, diag, n, ap, x, incx)
DTPSV