scikits.umfpack.umfpack.UmfpackContext.solve

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

Solution of system of linear equation using the Numeric object.

Parameters:

sys : constant

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

mtx : scipy.sparse.csc_matrix or scipy.sparse.csr_matrix

Input.

rhs : ndarray

Right Hand Side

autoTranspose : bool

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

Returns:

sol : ndarray

Solution to the equation system.