Earlier quoted context omitted.
"Python isn't the best tool for anything, but it's the second best tool for most things."
I thought the role of "second best tool for most things" belonged to Excel
SymPy: Symbolic Mathematics in Python
31–40 of 137 posts
Re: SymPy: Symbolic Mathematics in Python
#32SymPy gets the job done. I typically use it in the SageMath combo library, is that still the way to go or has SymPy advanced to the point that I should be using it on its own?
SageMath looks cool, but the fact that it's a combination of many different existing tools all with their own syntax, and feature overlap, scares me off a bit since it seems like how you do things wouldn't be very internally consistent How does this aspect work out in practice?
Re: SymPy: Symbolic Mathematics in Python
#33Re: SymPy: Symbolic Mathematics in Python
#34Is there any GUI for SymPy one could easily use to solve symbolic math like Maple/Maxima/Macsyma?
Re: SymPy: Symbolic Mathematics in Python
#35Here is a little tutorial for anyone looking to get started: https://minireference.com/static/tutorials/sympy_tutorial.pd...
Also available in runnable notebook format: https://colab.research.google.com/github/minireference/sympy... (read only = http://nbviewer.ipython.org/github/minireference/sympytut_no... )
Last but not least, for anyone interested in trying SymPy without installing anything, there is always the SymPy live shell: https://live.sympy.org/ (runs Python + SymPy in the browser thanks to WebAssembly)
Re: SymPy: Symbolic Mathematics in Python
#36I use SymPy as my calculator with https://github.com/idanpa/calcpy
Re: SymPy: Symbolic Mathematics in Python
#37Is there any GUI for SymPy one could easily use to solve symbolic math like Maple/Maxima/Macsyma?
https://github.com/jupyterlite/jupyterlite/tree/main/py/jupy... :
> Initial support for interactive visualization libraries such as: altair, bqplot, ipywidgets, matplotlib, and plotly
Re: SymPy: Symbolic Mathematics in Python
#38Earlier quoted context omitted.
Sagemath isn't a python library, it's a collection of packages (of which sympy is one) under a common interface. It is indeed what you would use if you wanted to do real symbolic computation in python, but it's not at the level of Mathematica or Maple. Look, we all love open source, but we aren't doing anybody any favors by pretending the open source alternative is better when it isn't. I would encourage anyone whose…
I'm old enough to have had people tell me the same thing about the Linux kernel vs the Windows kernel. I can do an import sage as the top of any python script. It's a library. And since I get all of python for free it's better than Mathematica.
Your windows/Linux analogy is also not very relevant here. Both are popular in different areas.
Re: SymPy: Symbolic Mathematics in Python
#39There is a benchmark of Sympy vs Mathematica at https://www.12000.org/my_notes/CAS_integration_tests/reports... The results were Mathematica failed to solve 1,523 problems, Sympy failed to solve 48,529. So it has some catching up to do.