[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? - Poruke

#1 Objavljeno: 22. 5. 2018. 07:06:49
Adriaan Knox

Adriaan Knox

0 svidjanja u 25 postova.

Grupa: 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) preuzeto 712 put(ova).


calling custom Maxima function.sm (4,01 KiB) preuzeto 1288 put(ova).
#2 Objavljeno: 22. 5. 2018. 10:04:58
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

Any help would be appreciated.


Forget what does not work outside of native Smath

Maths Grad_Div_Curl.sm (12,21 KiB) preuzeto 1366 put(ova).

#3 Objavljeno: 22. 5. 2018. 10:50:39
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

...

Jacob.sm (53,35 KiB) preuzeto 1316 put(ova).
#4 Objavljeno: 22. 5. 2018. 13:32:17
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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) preuzeto 712 put(ova).


calling custom Maxima function.sm (4,01 KiB) preuzeto 1288 put(ova).



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
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
  • Novi postovi
  • Nema novih postova