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

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

Adriaan Knox

0 me gusta en 25 mensajes.

Grupo: 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) descargado 699 vez(es).


calling custom Maxima function.sm (4,01 KiB) descargado 1259 vez(es).
#2 Publicado: 22/5/2018 10:04:58
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Any help would be appreciated.


Forget what does not work outside of native Smath

Maths Grad_Div_Curl.sm (12,21 KiB) descargado 1330 vez(es).

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

...

Jacob.sm (53,35 KiB) descargado 1291 vez(es).
#4 Publicado: 22/5/2018 13:32:17
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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) descargado 699 vez(es).


calling custom Maxima function.sm (4,01 KiB) descargado 1259 vez(es).



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
  • Nuevos mensajes
  • Sin mensajes nuevos