4 ms·
Does it come with proper equation printing? A big problem for me getting into Maxima is that the frontends I've found are pretty unstable and the terminal vers
by SiempreViernes 6y ago
Does it come with proper equation printing?
A big problem for me getting into Maxima is that the frontends I've found are pretty unstable and the terminal version only does equations as ascii art, which I just cant' stand reading.
- forgotpwd16 6y ago>pretty unstable What do you mean? wxMaxima has worked fine for me.
- jgalt212 6y agoI've had good success with wxMaxima as well, but none of the equations I've worked with can fill a blackboard. SymPy is very nice as well, but for obvious reasons, it feels a bit more forced when interacting with it.
- lokedhs 6y agoDo you accept the output from Climaxima? Granted, the project isn't near finished (currently held back due to some dependency issues). I included some example videos in this reply: https://news.ycombinator.com/item?id=24467593 https://news.ycombinator.com/item?id=24467593
- ogogmad 6y agoI use Sympy interactively, and I don't know what you mean by "forced". It doesn't feel that way to me.
- jgalt212 6y agothis is a bit rush, but an example setting up the quadratic equation. f(x) := a*x^2 + b*x + c solve( f(x),x ); from sympy import symbols, solve a, b, c, x = sympy.symbols(('a', 'b', 'c', 'x')) y = sympy.Eq(a*x**2+b*x+c, 0) solve(y, x)
- ogogmad 6y agoI would change the first two lines to: from sympy.abc import * from sympy import * I would put that into a file, and auto-load it at startup so I don't need to run it manually every time - one way of doing that is using iPython profiles. Also put this in your startup file to get more pleasant looking output: init_printing(use_unicode=True) Once you've done that, you only need to type: y = a*x**2 + b*x + c solve(y,x)
- forgotpwd16 6y agoSymPy already comes with `isympy` script that will import everything from SymPy and create some common symbols (x, y, z, t, k, m, n, f, g, h) using either `python` or `ipython` (default). To do what you said the following script may be run. #!/usr/bin/env python from sympy.abc import * from sympy import * import code init_printing() code.interact(local=locals())
- ogogmad 6y agoSympy can output to Latex or unicode - either looks good.
- nsajko 6y agoFricas supports several different output formats including TeX and MathML, which can be toggled and redirected independently. (There is some relatively recent work on that front, so changes are possible. I hope interfacing with Fricas programmatically will become nicer.) It's an ugly solution, but when an output expression is complicated enough that I want it nicely rendered, I copy the TeX output to, e.g., https://arachnoid.com/latex/ https://arachnoid.com/latex/ while removing the \leqno command and replacing \sp commands with carets (^).
- coliveira 6y agowxMaxima is a very good front end, which I have used for many years. You just need to make sure you get a stable version, not a development release.
- ogogmad 6y agoYou can use Maxima via Emacs with Latex output: https://www.emacswiki.org/emacs/MaximaMode https://www.emacswiki.org/emacs/MaximaMode
- smabie 6y agoJust use it with Emacs, equations will render in LaTeX