SMath Studio Forum
»
SMath Studio
»
Questions
»
[Maxima Plugin] least common multiple
  Rank: Member Groups: Registered
Joined: 22/05/2018(UTC) Posts: 25   Location: California
|
Although lcm() works in Maxima... it won't work for me in Smath using Maxima(lcm()) I'm a noob but researched for hours and am non-the-wiser... Any help is much appreciated. The only result when searching the forum is a Matlab plugin which I couldn't work... plus I'm not sure lcm() is included with that plugin anyway. https://en.smath.info/forum/yaf_...tlab-C-Math-Library.aspx lcm.sm (3kb) downloaded 49 time(s).Edited by moderator 22 May 2018 13:14:53(UTC)
| Reason: added Maxima tag
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,048  Was thanked: 1177 time(s) in 752 post(s)
|
You need to load the "functs" package in Maxima first. Seems that wxMaxima does that on startup. I could also load this package automatically if required. You can add this locally to your maxima.xml in the plugin directory (search for this file to find the directory). ![2018-05-22 13_54_34-SMath Studio - [lcm.sm_].png](/forum/resource.ashx?a=23117&b=2) |
|
|
|
|
  Rank: Member Groups: Registered
Joined: 22/05/2018(UTC) Posts: 25   Location: California
|
Thank you Mr. Kraska... I found a Japanese page where others had to load it on their Maxima first as well. http://web.sfc.keio.ac.jp/~yama/nos/?p=3505Also this third party Maxima manual tells users to do so as well. http://www.delorie.com/gnu/docs/maxima/maxima_95.htmlWhich turned out to actually be the instructions for SMath not Maxima. Now I suppose I'll need to write a loop in order to use the function with more than two numbers. Somewhat curious since Maxima has an ezgcd() function which accepts more than two inputs. Anyhow, I will click thanks on your profile Sir. update: When I click thank on your post an error occurs. Edited by user 23 May 2018 10:47:19(UTC)
| Reason: Not specified
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
[Maxima Plugin] least common multiple
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.