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

#1 Pubblicato: 22/05/2018 07:06:49
Adriaan Knox

Adriaan Knox

0 apprezzamenti in 25 post.

Gruppo: 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) scaricato 702 volta(e).


calling custom Maxima function.sm (4,01 KiB) scaricato 1262 volta(e).
#2 Pubblicato: 22/05/2018 10:04:58
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Any help would be appreciated.


Forget what does not work outside of native Smath

Maths Grad_Div_Curl.sm (12,21 KiB) scaricato 1334 volta(e).

#3 Pubblicato: 22/05/2018 10:50:39
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

...

Jacob.sm (53,35 KiB) scaricato 1295 volta(e).
#4 Pubblicato: 22/05/2018 13:32:17
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: 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) scaricato 702 volta(e).


calling custom Maxima function.sm (4,01 KiB) scaricato 1262 volta(e).



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
  • Nuovi post
  • Nessun nuovo post