121 SUBROUTINE cgesv( N, NRHS, A, LDA, IPIV, B, LDB, INFO )
128 INTEGER INFO, LDA, LDB, N, NRHS
132 COMPLEX A( LDA, * ), B( , * )
150 ELSE IF( nrhs.LT.0 )
THEN
152 ELSE IF( lda.LT.
max( 1, n ) )
THEN
154 ELSE IF( ldb.LT.
max( 1, n ) )
THEN
158 CALL xerbla(
'CGESV ', -info )
164 CALL cgetrf( n, n, a, lda, ipiv, info )
169 CALL cgetrs(
'No transpose', n, nrhs, a, lda, ipiv, b, ldb,
subroutine xerbla(srname, info)
XERBLA
subroutine cgetrs(trans, n, nrhs, a, lda, ipiv, b, ldb, info)
CGETRS
subroutine cgetrf(m, n, a, lda, ipiv, info)
CGETRF
subroutine cgesv(n, nrhs, a, lda, ipiv, b, ldb, info)
CGESV computes the solution to system of linear equations A * X = B for GE matrices (simple driver)