224 SUBROUTINE ssysv_rk( UPLO, N, NRHS, A, LDA, E, IPIV, B, LDB,
225 $ WORK, LWORK, INFO )
233 INTEGER INFO, LDA, LDB, LWORK, N, NRHS
237 REAL A( LDA, * ), B( LDB, * ), E( * ), WORK( * )
249 EXTERNAL lsame, sroundup_lwork
262 lquery = ( lwork.EQ.-1 )
263 IF( .NOT.lsame( uplo,
'U' ) .AND.
264 $ .NOT.lsame( uplo,
'L' ) )
THEN
266 ELSE IF( n.LT.0 )
THEN
268 ELSE IF( nrhs.LT.0 )
THEN
270 ELSE IF( lda.LT.max( 1, n ) )
THEN
272 ELSE IF( ldb.LT.max( 1, n ) )
THEN
274 ELSE IF( lwork.LT.1 .AND. .NOT.lquery )
THEN
282 CALL ssytrf_rk( uplo, n, a, lda, e, ipiv, work, -1,
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,
310 work( 1 ) = sroundup_lwork(lwkopt)
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