217 SUBROUTINE zpftrs( TRANSR, UPLO, N, NRHS, A, B, LDB, INFO )
224 CHARACTER TRANSR, UPLO
225 INTEGER INFO, LDB, N, NRHS
228 COMPLEX*16 A( 0: * ), B( LDB, * )
235 parameter( cone = ( 1.0d+0, 0.0d+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(
'ZPFTRS', -info )
275 IF( n.EQ.0 .OR. nrhs.EQ.0 )
281 CALL ztfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, cone, a,
284 CALL ztfsm( transr,
'L', uplo,
'C',
'N', n, nrhs, cone, a,
288 CALL ztfsm( transr,
'L', uplo,
'C',
'N', n, nrhs, cone, a,
291 CALL ztfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, cone, a,
subroutine zpftrs(transr, uplo, n, nrhs, a, b, ldb, info)
ZPFTRS
subroutine ztfsm(transr, side, uplo, trans, diag, m, n, alpha, a, b, ldb)
ZTFSM solves a matrix equation (one operand is a triangular matrix in RFP format).