Numerical solving of symbolic systems of non-linear equations.
The numerical root finding is perfomed using scipy.optimize.root.
Autogenerated API documentation is found here: https://bjodah.github.com/pyneqsys
Simplest way to install pyneqsys and its dependencies is through the conda package manager:
$ conda install -c bjodah pyneqsys pytest $ python -m pytest --pyargs pyneqsys
Source distribution is available here: https://pypi.python.org/pypi/pyneqsys
Example reformulated from SciPy documentation:
>>> import sympy as sp >>> import numpy as np >>> from pyneqsys import SymbolicSys >>> x = sp.symarray('x', 2) >>> f = [x + (x - x)**3/2 - 1, ... (x - x)**3/2 + x] >>> neqsys = SymbolicSys(x, f) >>> x, sol = neqsys.solve_scipy([1, 0]) >>> assert sol.success >>> print(x) [ 0.8411639 0.1588361]
here we did not need to enter the jacobian manually, SymPy did that for us.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyneqsys-0.1.0.tar.gz (6.6 kB)||File type Source||Python version None||Upload date||Hashes View|