Name | pymatsolver JSON |
Version |
0.3.1
JSON |
| download |
home_page | None |
Summary | pymatsolver: Matrix Solvers for Python |
upload_time | 2024-10-12 05:49:18 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | The MIT License (MIT) Copyright (c) 2013-2016 Rowan Cockett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
matrix
solver
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
pymatsolver
***********
.. image:: https://img.shields.io/pypi/v/pymatsolver.svg
:target: https://pypi.python.org/pypi/pymatsolver
:alt: Latest PyPI version
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://github.com/simpeg/pymatsolver/blob/master/LICENSE
:alt: MIT license.
.. image:: https://codecov.io/gh/simpeg/pymatsolver/branch/main/graph/badge.svg?token=8uQoxzxf3r
:target: https://codecov.io/gh/simpeg/pymatsolver
:alt: Coverage status
A (sparse) matrix solver for python.
Solving Ax = b should be as easy as:
.. code-block:: python
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 :code:`scipy.sparse` matricies, and a single or multiple right hand sides using :code:`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:
.. code::
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:
.. code::
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
Raw data
{
"_id": null,
"home_page": null,
"name": "pymatsolver",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "matrix solver",
"author": null,
"author_email": "SimPEG developers <rowanc1@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/d9/e8/3fd89c623e1d8ecd37b6674d21e627c829cd6d4e8e770afd41b3ec75fc26/pymatsolver-0.3.1.tar.gz",
"platform": null,
"description": "pymatsolver\n***********\n\n.. image:: https://img.shields.io/pypi/v/pymatsolver.svg\n :target: https://pypi.python.org/pypi/pymatsolver\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://github.com/simpeg/pymatsolver/blob/master/LICENSE\n :alt: MIT license.\n\n.. image:: https://codecov.io/gh/simpeg/pymatsolver/branch/main/graph/badge.svg?token=8uQoxzxf3r\n :target: https://codecov.io/gh/simpeg/pymatsolver\n :alt: Coverage status\n\n\nA (sparse) matrix solver for python.\n\nSolving Ax = b should be as easy as:\n\n.. code-block:: python\n\n Ainv = Solver(A)\n x = Ainv * b\n\nIn pymatsolver we provide a number of wrappers to existing numerical packages. Nothing fancy here.\n\nSolvers Available\n=================\n\nAll solvers work with :code:`scipy.sparse` matricies, and a single or multiple right hand sides using :code:`numpy`:\n\n* L/U Triangular Solves\n* Wrapping of SciPy matrix solvers (direct and indirect)\n* Pardiso solvers\n* Mumps solvers\n\n\nInstalling Solvers\n==================\nOften, there are faster solvers available for your system than the default scipy factorizations available.\npymatsolver provides a consistent interface to both MKL's ``Pardiso`` routines and the ``MUMPS`` solver package. To\nmake use of these we use intermediate wrappers for the libraries that must be installed separately.\n\nPardiso\n-------\nThe Pardiso interface is recommended for Intel processor based systems. The interface is enabled by\nthe ``pydiso`` python package, which can be installed through conda-forge as:\n\n.. code::\n\n conda install -c conda-forge pydiso\n\nMumps\n-----\nMumps is available for all platforms. The mumps interface is enabled by installing the ``python-mumps``\nwrapper package. This can easily be installed through conda-forge with:\n\n.. code::\n\n conda install -c conda-forge python-mumps\n\n\n\nCode:\nhttps://github.com/simpeg/pymatsolver\n\n\nTests:\nhttps://github.com/simpeg/pymatsolver/actions\n\n\nBugs & Issues:\nhttps://github.com/simpeg/pymatsolver/issues\n\nLicense: MIT\n",
"bugtrack_url": null,
"license": "The MIT License (MIT) Copyright (c) 2013-2016 Rowan Cockett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "pymatsolver: Matrix Solvers for Python",
"version": "0.3.1",
"project_urls": {
"Documentation": "https://simpeg.xyz/pymatsolver/",
"Homepage": "https://simpeg.xyz",
"Repository": "https://github.com/simpeg/pymatsolver"
},
"split_keywords": [
"matrix",
"solver"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d9e83fd89c623e1d8ecd37b6674d21e627c829cd6d4e8e770afd41b3ec75fc26",
"md5": "c1c57af5bf16806ecdd7ebf65a4f0314",
"sha256": "24b02d1022eaca2ec0199fa25052f5c0fa8ebee73ab26523c441385b4ece0651"
},
"downloads": -1,
"filename": "pymatsolver-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "c1c57af5bf16806ecdd7ebf65a4f0314",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 14720,
"upload_time": "2024-10-12T05:49:18",
"upload_time_iso_8601": "2024-10-12T05:49:18.239590Z",
"url": "https://files.pythonhosted.org/packages/d9/e8/3fd89c623e1d8ecd37b6674d21e627c829cd6d4e8e770afd41b3ec75fc26/pymatsolver-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-12 05:49:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "simpeg",
"github_project": "pymatsolver",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pymatsolver"
}