Skip to content
A simple package to do symbolic math (focus on code gen and DSLs) http://mathema.tician.de/software/pymbolic
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc Various fixes
pymbolic
test
.gitignore
.gitlab-ci.yml
LITERATURE
MANIFEST.in
README.rst
TODO
setup.cfg
setup.py

README.rst

Pymbolic

Pymbolic is a small expression tree and symbolic manipulation library. Two things set it apart from other libraries of its kind:

  • Users can easily write their own symbolic operations, simply by deriving from the builtin visitor classes.
  • Users can easily add their own symbolic entities to do calculations with.

Pymbolic currently understands regular arithmetic expressions, derivatives, sparse polynomials, fractions, term substitution, expansion. It automatically performs constant folding, and it can compile its expressions into Python bytecode for fast(er) execution.

If you are looking for a full-blown Computer Algebra System, look at sympy or PyGinac. If you are looking for a basic, small and extensible set of symbolic operations, pymbolic may well be for you.

https://badge.fury.io/py/pymbolic.png

Resources:

Something went wrong with that request. Please try again.