226 SUBROUTINE ssysv_rk( UPLO, N, NRHS, A, LDA, E, IPIV, B, LDB,
227 $ WORK, LWORK, INFO )
235 INTEGER INFO, LDA, LDB, LWORK, N, NRHS
239 REAL A( LDA, * ), B( LDB, * ), E( * ), WORK( * )
251 EXTERNAL lsame, sroundup_lwork
264 lquery = ( lwork.EQ.-1 )
265 IF( .NOT.lsame( uplo,
'U' ) .AND. .NOT.lsame( uplo,
'L' ) )
THEN
267 ELSE IF( n.LT.0 )
THEN
269 ELSE IF( nrhs.LT.0 )
THEN
271 ELSE IF( lda.LT.max( 1, n ) )
THEN
273 ELSE IF( ldb.LT.max( 1, n ) )
THEN
275 ELSE IF( lwork.LT.1 .AND. .NOT.lquery )
THEN
283 CALL ssytrf_rk( uplo, n, a, lda, e, ipiv, work, -1, info )
284 lwkopt = int( work( 1 ) )
286 work( 1 ) = sroundup_lwork(lwkopt)
290 CALL xerbla(
'SSYSV_RK ', -info )
292 ELSE IF( lquery )
THEN
299 CALL ssytrf_rk( uplo, n, a, lda, e, ipiv, work, lwork, info )
305 CALL ssytrs_3( uplo, n, nrhs, a, lda, e, ipiv, b, ldb, info )
309 work( 1 ) = sroundup_lwork(lwkopt)
subroutine xerbla(srname, info)
subroutine ssysv_rk(uplo, n, nrhs, a, lda, e, ipiv, b, ldb, work, lwork, info)
SSYSV_RK computes the solution to system of linear equations A * X = B for SY matrices
subroutine ssytrf_rk(uplo, n, a, lda, e, ipiv, work, lwork, info)
SSYTRF_RK computes the factorization of a real symmetric indefinite matrix using the bounded Bunch-Ka...
subroutine ssytrs_3(uplo, n, nrhs, a, lda, e, ipiv, b, ldb, info)
SSYTRS_3