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
smichr on master
Modified coeff() to give correcâ€¦ Coding style fixes Added test for issue 17917 and â€¦ and 3 more (compare)
>>> 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