107 SUBROUTINE cpptrs( UPLO, N, NRHS, AP, B, LDB, INFO )
115 INTEGER INFO, LDB, N, NRHS
118 COMPLEX AP( * ), B( LDB, * )
142 upper = lsame( uplo,
'U' )
143 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
145 ELSE IF( n.LT.0 )
THEN
147 ELSE IF( nrhs.LT.0 )
THEN
149 ELSE IF( ldb.LT.max( 1, n ) )
THEN
153 CALL xerbla(
'CPPTRS', -info )
159 IF( n.EQ.0 .OR. nrhs.EQ.0 )
170 CALL ctpsv(
'Upper',
'Conjugate transpose',
'Non-unit', n,
175 CALL ctpsv(
'Upper',
'No transpose',
'Non-unit', n, ap,
186 CALL ctpsv(
'Lower',
'No transpose',
'Non-unit', n, ap,
191 CALL ctpsv(
'Lower',
'Conjugate transpose',
'Non-unit', n,
subroutine xerbla(srname, info)
subroutine cpptrs(uplo, n, nrhs, ap, b, ldb, info)
CPPTRS
subroutine ctpsv(uplo, trans, diag, n, ap, x, incx)
CTPSV