News for hackers. Stuff that matters.
Re:Maxima (Software) by medo-bear on Saturday November 20, 2021 @08:24PM (#29293353)
i know common lisp can be called by a maxima program. can maxima be used as a library in common lisp ?
Re:Maxima (Software) by jhgb on Saturday November 20, 2021 @11:12PM (#29294137)
That's rather complicated because of its internal architecture. Also because Maxima is skewed towards interactive usage. Some of the routines need to ask you questions about the problem in the middle of the solution (things like "is a zero or non-zero?" and such). Perhaps such questions could be turned into conditions, though.
Re:Maxima (Software) by medo-bear on Sunday November 21, 2021 @03:01AM (#29294859)
it would be cool if maxima could be used in such a way. similar to how sympy is used in python. i have a feeling it is definitely possible. maybe someone knows if any work on it has been done by some third party
Re:Maxima (Software) by nbernard on Sunday November 21, 2021 @03:59AM (#29295054)
There is this project, but it seems inactive and I'm not sure if it is usable or not: https://github.com/bld/embeddable-maxima

This blog post also shows how to call Maxima from CL: https://niitsuma.hatenadiary.org/entry/20080328/1226706399

Re:Maxima (Software) by medo-bear on Sunday November 21, 2021 @04:05AM (#29295071)
cheers thank you