[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? - Сообщения

#1 Опубликовано: 22.05.2018 07:06:49
Adriaan Knox

Adriaan Knox

0 сообщений из 25 понравились пользователям.

Группа: 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 Б) скачан 67 раз(а).


calling custom Maxima function.sm (4 КиБ) скачан 88 раз(а).
#2 Опубликовано: 22.05.2018 10:04:58
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Any help would be appreciated.


Forget what does not work outside of native Smath

Maths Grad_Div_Curl.sm (12 КиБ) скачан 70 раз(а).

#3 Опубликовано: 22.05.2018 10:50:39
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

...

Jacob.sm (53 КиБ) скачан 57 раз(а).
#4 Опубликовано: 22.05.2018 13:32:17
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 Б) скачан 67 раз(а).


calling custom Maxima function.sm (4 КиБ) скачан 88 раз(а).



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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений