Re:SymPy: Symbolic Mathematics in Python
by treprinum on Wednesday February 28, 2024 @09:25AM
(#39538327)
Is there any GUI for SymPy one could easily use to solve symbolic math like Maple/Maxima/Macsyma?
[ Parent
| on HN ]
You can run it in Jupyter notebook. They have a lightweight implementation of that at https://live.sympy.org/ but the closest counterpart to Maple would probably be SageMath, which includes sympy and a lot more. https://www.sagemath.org/
Re:SymPy: Symbolic Mathematics in Python
by westurner on Wednesday February 28, 2024 @10:03AM
(#39538824)
JupyterLite's default Python-compiled-to-WASM build has NumPy, SciPy, matplotlib, and SymPy installed; so you can do computer algebra with SymPy in a browser tab.
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
by BD103 on Wednesday February 28, 2024 @09:57AM
(#39538749)
You might find SymPy Gamma interesting: https://www.sympygamma.com
Re:SymPy: Symbolic Mathematics in Python
by whyever on Wednesday February 28, 2024 @09:29AM
(#39538393)
Not sure what you mean with GUI, but you can use it with Jupyter notebooks.
Re:SymPy: Symbolic Mathematics in Python
by treprinum on Wednesday February 28, 2024 @10:36AM
(#39539296)
More like writing/clicking math (like in MS Word or some LaTeX editors) that is then converted to SymPy instead of writing stuff in Python directly.
Re:SymPy: Symbolic Mathematics in Python
by sorenjan on Wednesday February 28, 2024 @11:02AM
(#39539699)
It should be relatively straightforward to build something with Visualequation, latex2sympy, SymPy, and maybe IPython's QTConsole.
https://github.com/daniel-molina/visualequation
https://pypi.org/project/latex2sympy2/
https://ipython.org/ipython-doc/2/interactive/qtconsole.html
Edit: That might be overcomplicating things, there are already better alternatives: https://tex.stackexchange.com/questions/57068/wysiwyg-latex-...
Re:SymPy: Symbolic Mathematics in Python
by notpushkin on Wednesday February 28, 2024 @09:29AM
(#39538395)
Would Jupyter do the trick? https://jupyter.org/