109 SUBROUTINE cpotrs( UPLO, N, NRHS, A, LDA, B, LDB, INFO )
117 INTEGER INFO, LDA, LDB, N, NRHS
120 COMPLEX A( LDA, * ), B( LDB, * )
127 parameter( one = ( 1.0e+0, 0.0e+0 ) )
147 upper = lsame( uplo,
'U' )
148 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
150 ELSE IF( n.LT.0 )
THEN
152 ELSE IF( nrhs.LT.0 )
THEN
154 ELSE IF( lda.LT.max( 1, n ) )
THEN
156 ELSE IF( ldb.LT.max( 1, n ) )
THEN
160 CALL xerbla(
'CPOTRS', -info )
166 IF( n.EQ.0 .OR. nrhs.EQ.0 )
175 CALL ctrsm(
'Left',
'Upper',
'Conjugate transpose',
'Non-unit',
176 $ n, nrhs, one, a, lda, b, ldb )
180 CALL ctrsm(
'Left',
'Upper',
'No transpose',
'Non-unit', n,
181 $ nrhs, one, a, lda, b, ldb )
188 CALL ctrsm(
'Left',
'Lower',
'No transpose',
'Non-unit', n,
189 $ nrhs, one, a, lda, b, ldb )
193 CALL ctrsm(
'Left',
'Lower',
'Conjugate transpose',
'Non-unit',
194 $ n, nrhs, one, a, lda, b, ldb )
subroutine xerbla(srname, info)
subroutine cpotrs(uplo, n, nrhs, a, lda, b, ldb, info)
CPOTRS
subroutine ctrsm(side, uplo, transa, diag, m, n, alpha, a, lda, b, ldb)
CTRSM