163 SUBROUTINE zhpsv( UPLO, N, NRHS, AP, IPIV, B, LDB, INFO )
172 INTEGER info, ldb, n, nrhs
176 COMPLEX*16 ap( * ), b( ldb, * )
196 IF( .NOT.
lsame( uplo,
'U' ) .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
198 ELSE IF( n.LT.0 )
THEN
200 ELSE IF( nrhs.LT.0 )
THEN
202 ELSE IF( ldb.LT.max( 1, n ) )
THEN
206 CALL
xerbla(
'ZHPSV ', -info )
212 CALL
zhptrf( uplo, n, ap, ipiv, info )
217 CALL
zhptrs( uplo, n, nrhs, ap, ipiv, b, ldb, info )