[Maxima Plugin] is a custom Maxima function call-able in SMath

[Maxima Plugin] is a custom Maxima function call-able in SMath - Can SMath call a custom Maxima function? - Messages

#1 Posted: 5/22/2018 7:06:49 AM
Adriaan Knox

Adriaan Knox

0 likes in 25 posts.

Group: User

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 (329 B) downloaded 66 time(s).


calling custom Maxima function.sm (4 KiB) downloaded 86 time(s).
#2 Posted: 5/22/2018 10:04:58 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Any help would be appreciated.


Forget what does not work outside of native Smath

Maths Grad_Div_Curl.sm (12 KiB) downloaded 68 time(s).

#3 Posted: 5/22/2018 10:50:39 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

...

Jacob.sm (53 KiB) downloaded 55 time(s).
#4 Posted: 5/22/2018 1:32:17 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

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 (329 B) downloaded 66 time(s).


calling custom Maxima function.sm (4 KiB) downloaded 86 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://en.smath.info/wiki/SMath%20with%20Plugins.ashx
  • New Posts New Posts
  • No New Posts No New Posts