123 SUBROUTINE sgesv( N, NRHS, A, LDA, IPIV, B, LDB, INFO )
131 INTEGER INFO, LDA, LDB, N, NRHS
135 REAL A( lda, * ), B( ldb, * )
153 ELSE IF( nrhs.LT.0 )
THEN
155 ELSE IF( lda.LT.max( 1, n ) )
THEN
157 ELSE IF( ldb.LT.max( 1, n ) )
THEN
161 CALL xerbla(
'SGESV ', -info )
167 CALL sgetrf( n, n, a, lda, ipiv, info )
172 CALL sgetrs(
'No transpose', n, nrhs, a, lda, ipiv, b, ldb,
subroutine sgetrs(TRANS, N, NRHS, A, LDA, IPIV, B, LDB, INFO)
SGETRS
subroutine sgesv(N, NRHS, A, LDA, IPIV, B, LDB, INFO)
SGESV computes the solution to system of linear equations A * X = B for GE matrices (simple driver) ...
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine sgetrf(M, N, A, LDA, IPIV, INFO)
SGETRF