198 SUBROUTINE spftrs( TRANSR, UPLO, N, NRHS, A, B, LDB, INFO )
205 CHARACTER TRANSR, UPLO
206 INTEGER INFO, LDB, N, NRHS
209 REAL A( 0: * ), B( LDB, * )
216 parameter( one = 1.0e+0 )
219 LOGICAL LOWER, NORMALTRANSR
236 normaltransr = lsame( transr,
'N' )
237 lower = lsame( uplo,
'L' )
238 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'T' ) )
THEN
240 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
242 ELSE IF( n.LT.0 )
THEN
244 ELSE IF( nrhs.LT.0 )
THEN
246 ELSE IF( ldb.LT.max( 1, n ) )
THEN
250 CALL xerbla(
'SPFTRS', -info )
256 IF( n.EQ.0 .OR. nrhs.EQ.0 )
262 CALL stfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, one, a, b,
264 CALL stfsm( transr,
'L', uplo,
'T',
'N', n, nrhs, one, a, b,
267 CALL stfsm( transr,
'L', uplo,
'T',
'N', n, nrhs, one, a, b,
269 CALL stfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, one, a, b,
subroutine xerbla(srname, info)
subroutine spftrs(transr, uplo, n, nrhs, a, b, ldb, info)
SPFTRS
subroutine stfsm(transr, side, uplo, trans, diag, m, n, alpha, a, b, ldb)
STFSM solves a matrix equation (one operand is a triangular matrix in RFP format).