219 SUBROUTINE cpftrs( TRANSR, UPLO, N, NRHS, A, B, LDB, INFO )
226 CHARACTER TRANSR, UPLO
227 INTEGER INFO, LDB, N, NRHS
230 COMPLEX A( 0: * ), B( LDB, * )
237 parameter( cone = ( 1.0e+0, 0.0e+0 ) )
240 LOGICAL LOWER, NORMALTRANSR
257 normaltransr = lsame( transr,
'N' )
258 lower = lsame( uplo,
'L' )
259 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'C' ) )
THEN
261 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
263 ELSE IF( n.LT.0 )
THEN
265 ELSE IF( nrhs.LT.0 )
THEN
267 ELSE IF( ldb.LT.max( 1, n ) )
THEN
271 CALL xerbla(
'CPFTRS', -info )
277 IF( n.EQ.0 .OR. nrhs.EQ.0 )
283 CALL ctfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, cone, a, b,
285 CALL ctfsm( transr,
'L', uplo,
'C',
'N', n, nrhs, cone, a, b,
288 CALL ctfsm( transr,
'L', uplo,
'C',
'N', n, nrhs, cone, a, b,
290 CALL ctfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, cone, a, b,
subroutine xerbla(srname, info)
subroutine cpftrs(transr, uplo, n, nrhs, a, b, ldb, info)
CPFTRS
subroutine ctfsm(transr, side, uplo, trans, diag, m, n, alpha, a, b, ldb)
CTFSM solves a matrix equation (one operand is a triangular matrix in RFP format).