News for hackers. Stuff that matters.
Re:Maxima (Software) by pfortuny on Saturday November 20, 2021 @04:07PM (#29291852)
I use this frequently for plotting planar vector fields: it is much better than Mathematica’s StreamPlot (which I am forced to use from time to time).

Also another colleague found out the hard way that maxima can happen to solve symbolic/arithmetic linear equations much faster (2 orders of magnitude) than Mathematica.

A great tool. A pity it is underestimated.

Re:Maxima (Software) by thayne on Saturday November 20, 2021 @11:22PM (#29294168)
As a physics student, I often used maxima for assignments, because while I did have access to Mathematica on lab computers, having a CAS on my laptop was often more convenient. In general, it was able to do what I needed just as well as Mathematica, though with different syntax.
Re:Maxima (Software) by bitwize on Saturday November 20, 2021 @05:49PM (#29292522)
Ironic, considering that Stephen Wolfram insisted in the 80s that Lisp was 100x slower than C, and so a fast mathematics package could not be written in it.
Re:Maxima (Software) by p_l on Saturday November 20, 2021 @05:55PM (#29292556)
He was wrong then and now, but the crucial speedup of Mathematica vs Maxima was difference in modeling of data and how Mathematica could piggy back on fortran libraries for numerical solving, while Maxima focused on symbolic solving.

This meant that for many cases where numerical method was beneficial, Mathematica easily won on speed.

Re:Maxima (Software) by tzs on Sunday November 21, 2021 @01:20AM (#29294566)
The predecessor of Mathematica, Wolfram and Cole's SMP, was 10-100x faster than the best Lisp based symbolic math programs at the time on what Wolfram and Cole considered to be small to medium research physics problems. On large problems they were unable to compare because the Lisp based programs needed more memory than the VAX 11/780 at Caltech High Energy Physics had.
Re:Maxima (Software) by actually_a_dog on Saturday November 20, 2021 @06:35PM (#29292788)
That's hilarious, because the Wolfram Language is actually quite lispy. Or, at least you can write it in a very lispy style.
Re:Maxima (Software) by jordigh on Saturday November 20, 2021 @10:07PM (#29293838)
It kind of literally is lisp. It's about the only implementation of M-expressions instead of S-expressions.

https://en.wikipedia.org/wiki/M-expression#Implementations

Re:Maxima (Software) by etaioinshrdlu on Saturday November 20, 2021 @11:47PM (#29294255)
The way the whole language is implemented in terms of pattern matching and term rewriting is unlike any other language that I’ve seen. It does not seem quite like Lisp in that way.
Re:Maxima (Software) by jeffparsons on Sunday November 21, 2021 @06:45AM (#29295668)
Transforming patterns into other patterns is kind of Stephen Wolfram's _thing_. See his long term interest in cellular automata, and now even an attempt to discover the secrets of the universe through a theory of physics based (as far as I can tell from what I've read of it) entirely on pattern matching and rewriting: https://www.wolframphysics.org/.
Re:Maxima (Software) by User23 on Saturday November 20, 2021 @07:44PM (#29293128)
Re:Maxima (Software) by djsbs on Saturday November 20, 2021 @09:23PM (#29293633)
Id say it is lisp, with a slight syntax difference
Re:Maxima (Software) by xvilka on Saturday November 20, 2021 @09:49PM (#29293760)
Now Wolfram Language uses LLVM framework for compilation. SBCL-compiled Maxima is also quite fast .
Re:Maxima (Software) by jhgb on Saturday November 20, 2021 @11:08PM (#29294121)
That's probably because Stephen Wolfram in the 80s knew little about Lisp. Chances are he still knows little about it today!
Re:Maxima (Software) by andi999 on Sunday November 21, 2021 @05:57AM (#29295413)
Which command do you use, and could you link an example?
Re:Maxima (Software) by pfortuny on Sunday November 21, 2021 @02:39PM (#29299018)
No examples (home). Maxima: plotdf, Mathematica: Streamplot.

Sorry.

Re:Maxima (Software) by andi999 on Monday November 22, 2021 @10:37AM (#29307495)
Thanks, that is enough info for me to proceed.
Re:Maxima (Software) by tubby12345 on Saturday November 20, 2021 @06:09PM (#29292626)
can you give an example instance? I'll test on both.
Re:Maxima (Software) by pfortuny on Sunday November 21, 2021 @03:28AM (#29294956)
For the vector fields just anyone with a couple of singularities would work. The moment you set unequal axes Mathematica blows up.

Sorry but am home. If you mail me during the week I shall find examples for you.

The matrix was something I saw happen, I do not have the example handy, sorry.