196 SUBROUTINE spftrs( TRANSR, UPLO, N, NRHS, A, B, LDB, INFO )
203 CHARACTER TRANSR, UPLO
204 INTEGER INFO, LDB, N, NRHS
207 REAL A( 0: * ), B( LDB, * )
214 parameter( one = 1.0e+0 )
217 LOGICAL LOWER, NORMALTRANSR
234 normaltransr = lsame( transr,
'N' )
235 lower = lsame( uplo,
'L' )
236 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'T' ) )
THEN
238 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
240 ELSE IF( n.LT.0 )
THEN
242 ELSE IF( nrhs.LT.0 )
THEN
244 ELSE IF( ldb.LT.max( 1, n ) )
THEN
248 CALL xerbla(
'SPFTRS', -info )
254 IF( n.EQ.0 .OR. nrhs.EQ.0 )
260 CALL stfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, one, a, b,
262 CALL stfsm( transr,
'L', uplo,
'T',
'N', n, nrhs, one, a, b,
265 CALL stfsm( transr,
'L', uplo,
'T',
'N', n, nrhs, one, a, b,
267 CALL stfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, one, a, b,
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).