Maxima Plugin - Messages
#321 Posted: 6/20/2025 10:17:29 PM
4 users liked this post
sergio 6/21/2025 8:21:05 AM, NDTM Amarasekera 6/22/2025 8:35:56 AM, Martin Kraska 6/21/2025 9:52:50 AM, Alvaro Diaz Falconi 6/21/2025 5:34:52 AM
#322 Posted: 6/21/2025 9:51:42 AM
Actually, user fakemoses has fixed the Linux path issues in January 2024 (as can be seen in the history in the code repository). At that time there were still issues with the server side compilation of the plugin (the version from the extension manager didn't work, the local version of fakemoses worked). This seems to be fixed now from SMath side.
Thus, I encourage the Linuxing SMathers to give it a try.
Thus, I encourage the Linuxing SMathers to give it a try.
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
6 users liked this post
sergio 6/21/2025 3:03:53 PM, Davide Carpi 6/21/2025 10:25:17 AM, overlord 6/21/2025 11:54:21 AM, Alvaro Diaz Falconi 6/21/2025 5:34:29 PM, Andrey Ivashov 6/21/2025 8:54:18 PM, NDTM Amarasekera 6/22/2025 8:35:44 AM
#323 Posted: 8/28/2025 6:57:43 PM
#325 Posted: 8/28/2025 7:47:08 PM
Wroteaccording to the Maxima reference to_poly_solve wants lists or sets as arguments, not matrices.
I thought it need matrices since all maxima Solve() examples in Reference Book are with matrix.
Thanks
Any opinion how to get rid of that union()?
Edited 8/28/2025 7:49:17 PM
#326 Posted: 8/28/2025 7:57:08 PM
Solve is a special case, because it is not a direct call to Maxima's function solve() but a lot of work has been done to make it more forgivable in the input format, just like FindRoot(), there you can feed matrices or lists and I would not be surprised if also line() would work.
Also, solve() returns it result as a nested list of lists if there is more than one solution. Nested lists don't survive in SMath processing, so we had to replace the outer list by a matrix (row vector, for better optics).
This all is not done if you use direct calls via the maxima function. The to_poly_function obviously uses the union() expression as wrapping construct for multiple solutions, which should be safe. Yet, you have to find out yourself, how to access the individual arguments of union() to access individual solutions. The arg() function does the job,

Also, solve() returns it result as a nested list of lists if there is more than one solution. Nested lists don't survive in SMath processing, so we had to replace the outer list by a matrix (row vector, for better optics).
This all is not done if you use direct calls via the maxima function. The to_poly_function obviously uses the union() expression as wrapping construct for multiple solutions, which should be safe. Yet, you have to find out yourself, how to access the individual arguments of union() to access individual solutions. The arg() function does the job,

Edited 8/28/2025 7:59:06 PM
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
3 users liked this post
Oscar Campo 8/29/2025 9:39:23 AM, francesco rapuano 8/29/2025 11:01:38 AM, overlord 8/29/2025 2:49:52 PM
- New Posts
- No New Posts