219 SUBROUTINE zpftrs( TRANSR, UPLO, N, NRHS, A, B, LDB, INFO )
226 CHARACTER TRANSR, UPLO
227 INTEGER INFO, LDB, N, NRHS
230 COMPLEX*16 A( 0: * ), B( LDB, * )
237 parameter( cone = ( 1.0d+0, 0.0d+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(
'ZPFTRS', -info )
277 IF( n.EQ.0 .OR. nrhs.EQ.0 )
283 CALL ztfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, cone, a, b,
285 CALL ztfsm( transr,
'L', uplo,
'C',
'N', n, nrhs, cone, a, b,
288 CALL ztfsm( transr,
'L', uplo,
'C',
'N', n, nrhs, cone, a, b,
290 CALL ztfsm( transr,
'L', uplo,
'N',
'N', n, nrhs, cone, a, b,
subroutine xerbla(srname, info)
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).