scikits.umfpack.umfpack.UmfpackContext.linsolve

UmfpackContext.linsolve(sys, mtx, rhs, autoTranspose=False)

One-shot solution of system of linear equation. Reuses Numeric object if possible.

Parameters:
sysconstant

one of UMFPACK system description constants, like UMFPACK_A, UMFPACK_At, see umfSys list and UMFPACK docs

mtxscipy.sparse.csc_matrix or scipy.sparse.csr_matrix

Input.

rhsndarray

Right Hand Side

autoTransposebool

Automatically changes sys to the transposed type, if mtx is in CSR, since UMFPACK assumes CSC internally

Returns:
solndarray

Solution to the equation system.