Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline 007.000  
#1 Posted : 22 May 2018 13:06:49(UTC)
007.000


Rank: Member

Groups: Registered
Joined: 22/05/2018(UTC)
Posts: 25
Man
United States
Location: California

I have defined a function in Maxima but am unable to call it in SMath... I've searched around and tried a bunch of different syntaxes buy am still new to this so if it does indeed work I couldn't get it going... Any help would be appreciated.

Attached are the Maxima .mac file and the SMath file attempting to call it.

func_gradient_divergence_curl.7z (1kb) downloaded 48 time(s).


calling custom Maxima function.sm (5kb) downloaded 64 time(s).

Edited by moderator 22 May 2018 13:21:45(UTC)  | Reason: added Maxima tag

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 22 May 2018 16:04:58(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: 007.000 Go to Quoted Post
Any help would be appreciated.

Forget what does not work outside of native Smath

Maths Grad_Div_Curl.sm (13kb) downloaded 49 time(s).

Offline Jean Giraud  
#3 Posted : 22 May 2018 16:50:39(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
...

Jacob.sm (54kb) downloaded 42 time(s).
Offline mkraska  
#4 Posted : 22 May 2018 19:32:17(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Originally Posted by: 007.000 Go to Quoted Post
I have defined a function in Maxima but am unable to call it in SMath... I've searched around and tried a bunch of different syntaxes buy am still new to this so if it does indeed work I couldn't get it going... Any help would be appreciated.

Attached are the Maxima .mac file and the SMath file attempting to call it.

func_gradient_divergence_curl.7z (1kb) downloaded 48 time(s).


calling custom Maxima function.sm (5kb) downloaded 64 time(s).


It seems that there is a conflict with the vector package (load(vect) is executed at maxima startup in the plugin). If you remove that call, then your macro is loaded. I only tried this in wxmaxima. See Insert> Maxima> Log> wxm to see what the plugin does at startup.

2018-05-22 18_24_27-SMath Studio - [lcm.sm_].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Users browsing this topic
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.