107 SUBROUTINE zpotrs( UPLO, N, NRHS, A, LDA, B, LDB, INFO )
115 INTEGER INFO, LDA, LDB, N, NRHS
118 COMPLEX*16 A( LDA, * ), B( LDB, * )
125 parameter( one = ( 1.0d+0, 0.0d+0 ) )
145 upper = lsame( uplo,
'U' )
146 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
148 ELSE IF( n.LT.0 )
THEN
150 ELSE IF( nrhs.LT.0 )
THEN
152 ELSE IF( lda.LT.max( 1, n ) )
THEN
154 ELSE IF( ldb.LT.max( 1, n ) )
THEN
158 CALL xerbla(
'ZPOTRS', -info )
164 IF( n.EQ.0 .OR. nrhs.EQ.0 )
173 CALL ztrsm(
'Left',
'Upper',
'Conjugate transpose',
175 $ n, nrhs, one, a, lda, b, ldb )
179 CALL ztrsm(
'Left',
'Upper',
'No transpose',
'Non-unit', n,
180 $ nrhs, one, a, lda, b, ldb )
187 CALL ztrsm(
'Left',
'Lower',
'No transpose',
'Non-unit', n,
188 $ nrhs, one, a, lda, b, ldb )
192 CALL ztrsm(
'Left',
'Lower',
'Conjugate transpose',
194 $ n, nrhs, one, a, lda, b, ldb )
subroutine zpotrs(uplo, n, nrhs, a, lda, b, ldb, info)
ZPOTRS
subroutine ztrsm(side, uplo, transa, diag, m, n, alpha, a, lda, b, ldb)
ZTRSM