Skip to main content

pymatsolver

Latest PyPI version MIT license. Coverage status

A (sparse) matrix solver for python.

Solving Ax = b should be as easy as:

Ainv = Solver(A)
x = Ainv * b

In pymatsolver we provide a number of wrappers to existing numerical packages. Nothing fancy here.

Solvers Available

All solvers work with scipy.sparse matricies, and a single or multiple right hand sides using numpy:

  • L/U Triangular Solves

  • Wrapping of SciPy matrix solvers (direct and indirect)

  • Pardiso solvers

  • Mumps solvers

Installing Solvers

Often, there are faster solvers available for your system than the default scipy factorizations available. pymatsolver provides a consistent interface to both MKL’s Pardiso routines and the MUMPS solver package. To make use of these we use intermediate wrappers for the libraries that must be installed separately.

Pardiso

The Pardiso interface is recommended for Intel processor based systems. The interface is enabled by the pydiso python package, which can be installed through conda-forge as:

conda install -c conda-forge pydiso

Mumps

Mumps is available for all platforms. The mumps interface is enabled by installing the python-mumps wrapper package. This can easily be installed through conda-forge with:

conda install -c conda-forge python-mumps

Code: https://github.com/simpeg/pymatsolver

Tests: https://github.com/simpeg/pymatsolver/actions

Bugs & Issues: https://github.com/simpeg/pymatsolver/issues

License: MIT

Metadata

Release files for pymatsolver 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymatsolver 0.5.0
File Size Uploaded
pymatsolver-0.5.0.tar.gz 15.7 kB Details

Release files / pymatsolver-0.5.0.tar.gz

Download URL pymatsolver-0.5.0.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4977943e324d850401d703e64100e494bc7a950a344029a32900a84491a2669f
BLAKE2b-256 checksum
How to use checksums
9ba18dd9a37251872953a49070aa63948649520ea81c6f9c5df5a4d166e79e8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page