A computer algebra system written in pure Python http://sympy.org/ . To get started to with contributing https://github.com/sympy/sympy/wiki/Introduction-to-contributing
>>> Sum(exp(x*sin(n/m)),(n,1,m))
Sum(exp(x*sin(n/m)), (n, 1, m))
>>> Sum(exp(x*sin(n/m)),(n,1,m)).doit()
Piecewise((m*exp(c3_), Eq(exp(c2_), 1)), ((exp(c2_) - exp(c2_*(m + 1)))*exp(c3_)/(1 - exp(c2_)), True))
pip install -e
or setup.py develop
. Although I personally just run Python directly from the sympy
directory. That does not require reinstalling, as it will just import the development version of SymPy directly.
./bin/test test_solvers.py
, and use -k
to select a specific test like ./bin/test -k test_whatever
844 passed, 61 skipped, 8 xfailed, 1 xpassed, 1 warning in 7.50s