Maple Tools

Maple Tools - Symbolic engine for SMath Studio. - Messages

#461 Posted: 12/26/2024 2:47:54 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,019 likes in 1,692 posts.

Group: User

Wrote

In 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?

alias.png

alias2.png

Best regards.
Alvaro.
#462 Posted: 12/26/2024 3:18:42 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,432 likes in 1,746 posts.

Group: Moderator

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
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,019 likes in 1,692 posts.

Group: User

Hi Viacheslav. This is the modified with.inc:

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 290 time(s).

alias.png

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
#464 Posted: 7/30/2025 2:48:24 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,432 likes in 1,746 posts.

Group: Moderator

Since the maple plugin is used as an intermediary, all interpreters based on it will be located here.

In the future, a separate plugin can be made to remove unnecessary transformations.

The python.exe interpreter must be accessible via known paths.

maple-python-mode.sm (12 KiB) downloaded 1 time(s).

image.png

The octave-cli.exe interpreter must be accessible via known paths.

maple-octave-mode.sm (12 KiB) downloaded 14 time(s).

image.png
Russia ☭ forever, Viacheslav N. Mezentsev
#465 Posted: 7/30/2025 3:52:21 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,432 likes in 1,746 posts.

Group: Moderator

The same for Tiny C Compiler

maple-tcc-mode.sm (14 KiB) downloaded 1 time(s).

image.png
Russia ☭ forever, Viacheslav N. Mezentsev
  • New Posts New Posts
  • No New Posts No New Posts