Live data from Hacker News

A computer algebra system written in Python

github.com

1–10 of 32 posts

Re: A computer algebra system written in Python

#3
Sympy is AWESOME! In particular, http://live.sympy.org is a great way to learn and teach math... I often send links to my students with an entire sequence of steps to find the solution. Can you factor x^2-5x+6 ? (find numbers a,b such that (x-a)(x-b)=x^2-5x+6) http://live.sympy.org/?evaluate=solve(%20x**2-5*x%2B6%2C%20x... (it's like an entire iPython notebook in a URL)

On the topic of sympy, I'm working on this short tutorial---an introduction to sympy based around topics from the standard high school and first-year university curriculum: http://minireference.com/static/sympy_tutorial.pdf

Please don't post the tutorial on HN yet---I'm working out some last typos and I want to time the "official" announcement on HN with the beginning of the school year.

Re: A computer algebra system written in Python

#4
post #2

If you use sympy, I would strongly recommend using ipython qtconsole: http://ipython.org/ipython-doc/2/interactive/qtconsole.html One of the big advantages is that you can print your expressions using LaTeX: http://docs.sympy.org/dev/tutorial/printing.html

Why not the ipython notebook, in that case?

Re: A computer algebra system written in Python

#7
post #5

How is it different from Sage[1]? (Quickstart here http://www.sagemath.org/tour-quickstart.html , and really awesome cloud version (that requires an account, but is very worth it here: https://cloud.sagemath.com/ ) [1]: http://www.sagemath.org/

The Sympy guys have a good comparison:

https://github.com/sympy/sympy/wiki/SymPy-vs.-Sage

Re: A computer algebra system written in Python

#8
post #5

How is it different from Sage[1]? (Quickstart here http://www.sagemath.org/tour-quickstart.html , and really awesome cloud version (that requires an account, but is very worth it here: https://cloud.sagemath.com/ ) [1]: http://www.sagemath.org/

Sage uses sympy, among many other tools.

Re: A computer algebra system written in Python

#9
post #6

Why would you link to the Github page instead of the project’s home page ( http://sympy.org/ )? Is this a thing now?

Yeah, upon seeing the github link I was thinking some poor sod had implemented some polynomial expansion algorithm, and had never heard of sympy. The it turned out to be sympy.

Soon people will post links to the gnome repos with the title "A open source desktop environment for linux" ... now I'm tempted to do it myself.

Post reply on HN