About the Package
PyLinearSolver is a python iterface for many well-known linear solvers packages written in different languages like C, C++, julia, etc… The package uses the existing implementation from the original source and build a wrapper layer for a python development.
NOTE All rights are preserved to the authers and developers of the original packages.
Installation
Dependencies
To work with PyLinearSolver packages, you need to install the dependencies for them.
Iterative Solvers
Install Julia
PyLinearSolver
Simply you need to call this command:
pip install PyLinearSolver
NOTE In case of working with Iterative Solvers, you need to install the dependencies for PyJulia through the following:
import julia julia.install()
Examples
Iterative Solvers
An example for Iterative Solver Wrapper package in PyLinearSolver:
from PyLinearSolver import IterativeSolvers import numpy as np n=10 A = np.random.rand(n,n) b= np.random.rand(n) x= np.zeros(n) A = A + A.T +2*n*np.identity(n) x, ch=IterativeSolvers.cg(A,b,verbose=True, log=True)
Metadata
Release files for PyLinearSolver 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyLinearSolver-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / PyLinearSolver-0.1.4-py3-none-any.whl
| Download URL | PyLinearSolver-0.1.4-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
898cd58d80a01c7586fc24fb7fe21a423192af722e3bd90c960eb8ed11acd519
|
|
BLAKE2b-256 checksum How to use checksums |
54a124122bf8c5b1f8bd2da5d70327675939d2c5fb1387c3d9cd365fe185fccb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.6
|