Maple Tools - Symbolic engine for SMath Studio. - Сообщения
WroteIn addition to names, parameter types also need to be converted. They need to be supported in both directions. As for trigonometric functions, the SMath tries to automatically work with names, which prevents them from being supported in the plugin in a controlled way.
Hi Viacheslav. Forgetting about types for a moment, if you add a line with "alias(arg=argument, asin=arcsin, ... )" and some other aliases to the plugin's "in.tmp" file, wouldn't it do the conversion automatically?


Best regards.
Alvaro.
You can check it yourself. The plugin supports including custom commands using the "with.inc" file. The file content is added automatically with each conversion to the in.tmp file header.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Alvaro Diaz Falconi 26.12.2024 15:50:00
Hi Viacheslav. This is the modified with.inc:
And this is the test:
alias.sm (8 КиБ) скачан 223 раз(а).

I use u=Heaviside because there is a plugin with this function, useless for integration, but there must be some other better name. Also, there are some other functions, like GAMMA, Bessel, Airy, etc.
Best regards.
Alvaro.
with(linalg):with(inttrans):with(plots):
alias(arg=argument, sign=signum, u=Heaviside):
alias(asin=arcsin, acos=arccos, atan=arctan):
alias(asec=arcsec, acsc=arccsc, acot=arccot):
alias(asinh=arcsinh, acosh=arccosh, atanh=arctanh):
alias(asech=arcsech, acsch=arccsch, acoth=arccoth):
And this is the test:
alias.sm (8 КиБ) скачан 223 раз(а).

I use u=Heaviside because there is a plugin with this function, useless for integration, but there must be some other better name. Also, there are some other functions, like GAMMA, Bessel, Airy, etc.
Best regards.
Alvaro.
1 пользователям понравился этот пост
Вячеслав Мезенцев 26.12.2024 17:01:00
-
Новые сообщения
-
Нет новых сообщений