131 SUBROUTINE zposv( UPLO, N, NRHS, A, LDA, B, LDB, INFO )
140 INTEGER info, lda, ldb, n, nrhs
143 COMPLEX*16 a( lda, * ), b( ldb, * )
163 IF( .NOT.
lsame( uplo,
'U' ) .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
165 ELSE IF( n.LT.0 )
THEN
167 ELSE IF( nrhs.LT.0 )
THEN
169 ELSE IF( lda.LT.max( 1, n ) )
THEN
171 ELSE IF( ldb.LT.max( 1, n ) )
THEN
175 CALL
xerbla(
'ZPOSV ', -info )
181 CALL
zpotrf( uplo, n, a, lda, info )
186 CALL
zpotrs( uplo, n, nrhs, a, lda, b, ldb, info )