Maple Tools - Symbolic engine for SMath Studio. - Messages
#461 Posted: 12/26/2024 2:47:54 PM
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.
#462 Posted: 12/26/2024 3:18:42 PM
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 users liked this post
Alvaro Diaz Falconi 12/26/2024 3:50:00 PM
#463 Posted: 12/26/2024 3:54:20 PM
Hi Viacheslav. This is the modified with.inc:
And this is the test:
alias.sm (8 KiB) downloaded 68 time(s).

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 KiB) downloaded 68 time(s).
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 users liked this post
Вячеслав Мезенцев 12/26/2024 5:01:00 PM
-
New Posts
-
No New Posts