202 SUBROUTINE zsysv_rook( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, WORK,
211 INTEGER INFO, LDA, LDB, LWORK, N, NRHS
215 COMPLEX*16 A( LDA, * ), B( LDB, * ), WORK( * )
239 lquery = ( lwork.EQ.-1 )
240 IF( .NOT.lsame( uplo,
'U' ) .AND. .NOT.lsame( uplo,
'L' ) )
THEN
242 ELSE IF( n.LT.0 )
THEN
244 ELSE IF( nrhs.LT.0 )
THEN
246 ELSE IF( lda.LT.max( 1, n ) )
THEN
248 ELSE IF( ldb.LT.max( 1, n ) )
THEN
250 ELSE IF( lwork.LT.1 .AND. .NOT.lquery )
THEN
258 CALL zsytrf_rook( uplo, n, a, lda, ipiv, work, -1, info )
259 lwkopt = int( dble( work( 1 ) ) )
265 CALL xerbla(
'ZSYSV_ROOK ', -info )
267 ELSE IF( lquery )
THEN
273 CALL zsytrf_rook( uplo, n, a, lda, ipiv, work, lwork, info )
280 CALL zsytrs_rook( uplo, n, nrhs, a, lda, ipiv, b, ldb, info )
subroutine xerbla(srname, info)
subroutine zsysv_rook(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)
ZSYSV_ROOK computes the solution to system of linear equations A * X = B for SY matrices
subroutine zsytrf_rook(uplo, n, a, lda, ipiv, work, lwork, info)
ZSYTRF_ROOK
subroutine zsytrs_rook(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
ZSYTRS_ROOK