Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just for completeness -- another option is to use sympy. See http://docs.sympy.org/latest/tutorial/simplification.html for some simplification options.