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 КиБ) скачан 294 раз(а).

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 КиБ) скачан 294 раз(а).

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
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 КиБ) скачан 2 раз(а).

The octave-cli.exe interpreter must be accessible via known paths.
maple-octave-mode.sm (12 КиБ) скачан 15 раз(а).

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 КиБ) скачан 2 раз(а).

The octave-cli.exe interpreter must be accessible via known paths.
maple-octave-mode.sm (12 КиБ) скачан 15 раз(а).

Russia ☭ forever, Viacheslav N. Mezentsev
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Andrey Ivashov 31.07.2025 23:43:05
-
Новые сообщения
-
Нет новых сообщений