### Install PyPardiso with Pip Source: https://github.com/haasad/pypardiso/blob/master/README.md Install PyPardiso using pip. ```bash pip install pypardiso ``` -------------------------------- ### Install PyPardiso with Conda Source: https://github.com/haasad/pypardiso/blob/master/README.md Install PyPardiso using the conda package manager from the conda-forge channel. ```bash conda install -c conda-forge pypardiso ``` -------------------------------- ### Basic Sparse Linear System Solve Source: https://github.com/haasad/pypardiso/blob/master/README.md Solve a sparse linear system Ax=b using PyPardiso. Requires numpy and scipy.sparse. The matrix A must be in CSR or CSC format. ```python import pypardiso import numpy as np import scipy.sparse as sp A = sp.rand(10, 10, density=0.5, format='csr') b = np.random.rand(10) x = pypardiso.spsolve(A, b) print(x) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.