217 SUBROUTINE cpftrs( TRANSR, UPLO, N, NRHS, A, B, LDB, INFO )
224 CHARACTER TRANSR, UPLO
225 INTEGER INFO, LDB, N, NRHS
228 COMPLEX A( 0: * ), B( LDB, * )
235 parameter( cone = ( 1.0e+0, 0.0e+0 ) )
238 LOGICAL LOWER, NORMALTRANSR
255 normaltransr = lsame( transr,
'N' )
256 lower = lsame( uplo,
'L' )
257 IF( .NOT.normaltransr .AND. .NOT.lsame( transr,
'C' ) )
THEN
259 ELSE IF( .NOT.lower .AND. .NOT.lsame( uplo,
'U' ) )
THEN
261 ELSE IF( n.LT.0 )
THEN
263 ELSE IF( nrhs.LT.0 )
THEN
265 ELSE IF( ldb.LT.max( 1, n ) )
THEN
269 CALL xerbla(
'CPFTRS', -info )
275 IF( n.EQ.0 .OR. nrhs.EQ.0 )
281 CALL ctfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, cone, a,
284 CALL ctfsm( transr,
'L', uplo,
'C',
'N', n, nrhs, cone, a,
288 CALL ctfsm( transr,
'L', uplo,
'C',
'N', n, nrhs, cone, a,
291 CALL ctfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, cone, a,
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).