GNU Scientific Library (GSL)

GNU Scientific Library (GSL) - The GNU Scientific Library 2.x. - Сообщения

#21 Опубликовано: 20.12.2021 16:11:14
Вячеслав Мезенцев

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

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

Группа: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- solution restructured;
- converting the task for the ODE solver to the numerical form is now performed through the Mathcad Toolbox plugin (to avoid code duplication), so it must be installed;
- refactored.

Solvers that support mathematical notation now reuse code from the Mathcad Toolbox plugin. Now there is no need to recompile every such plugin.
Russia ☭ forever, Viacheslav N. Mezentsev
#22 Опубликовано: 24.12.2021 06:00:02
Вячеслав Мезенцев

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

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

Группа: Moderator

SMath Studio compatibility

Updated.

Changes:

- updated to GSL 2.7;
- gsl_version operand added;
- refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
#23 Опубликовано: 24.12.2021 11:13:05
Вячеслав Мезенцев

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

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

Группа: Moderator

SMath Studio compatibility

Updated.

Changes:

- gsl_sf() function added (only airy supported);
- totally refactored.

The library has a huge number of functions, but it is very difficult to find a convenient method for calling them. I decided to try one method, calling special functions with one generic function and a combination of flags.

Click to enlarge
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
sergio 24.12.2021 12:20:00
#24 Опубликовано: 24.12.2021 18:28:46
Вячеслав Мезенцев

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

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

Группа: Moderator

SMath Studio compatibility Examples

Updated.

Changes:

- gsl_sf_airy() and gsl_sf_bessel() functions added;
- gsl_sf() function removed;
- examples added;
- refactored.

Click to enlarge Click to enlarge

Links:

1. Airy Functions and Derivatives
2. Bessel Functions
Russia ☭ forever, Viacheslav N. Mezentsev
#25 Опубликовано: 01.02.2022 09:27:54
DenisArd

DenisArd

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

Группа: User

Плагин установлен и виден в SMath, но ни одна его функция не доступна. В чем может быть дело?

The plugin is installed and visible in SMath, but none of its functions are available. What can be wrong?

Windows 10 Home x64 21H1, SMathStudioDesktop portable (mono).

Snimok ehkrana 2022-02-01 151555.png

Upd: Разобрался. Нужен Microsoft Visual C++ 2015 Redistributable.
Understood. Requires Microsoft Visual C++ 2015 Redistributable.
https://www.microsoft.com/ru-ru/download/details.aspx?id=53840
#26 Опубликовано: 03.06.2022 15:51:43
Вячеслав Мезенцев

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

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

Группа: Moderator

SMath Studio compatibility gsl_interp.cpp

Updated.

Changes:

- gsl_interp() function added.

Click to enlarge

gsl_interp.sm (8 КиБ) скачан 60 раз(а).

Links:

1. GSL Interpolation.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
churichuro 03.06.2022 19:00:00
#27 Опубликовано: 05.06.2022 13:32:31
Вячеслав Мезенцев

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

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

Группа: Moderator

Resources

I finally figured out how to add a localization mechanism for function libraries. In the future, I will use it in all my plugins.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
sergio 06.06.2022 06:46:00
#28 Опубликовано: 10.03.2023 10:27:36
Вячеслав Мезенцев

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

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

Группа: Moderator

SMath Studio compatibility

Updated.

Changes:

- gsl_sf_erf(1), gsl_sf_erfc(1), gsl_sf_erf_Q(1), gsl_sf_erf_Z(1), gsl_sf_hazard(1) and gsl_sf_log_erfc(1) functions added.

gsl_sf_erf.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
sergio 10.03.2023 17:10:00, Oscar Campo 14.03.2023 06:35:00
#29 Опубликовано: 03.03.2024 14:18:11
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Hi Viacheslav. It looks like a bug.

bug.png

Best regards.
Alvaro
#30 Опубликовано: 04.03.2024 14:24:55
Вячеслав Мезенцев

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

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

Группа: Moderator

As for the last error, this is by design. Function expected as first argument.

Click to enlarge

Here my results:

Click to enlarge

The problem may be related to this

Click to enlarge

I don't know exactly which one is used by the plugin. You can try reinstalling the Microsoft Runtime support library.
Russia ☭ forever, Viacheslav N. Mezentsev
#31 Опубликовано: 04.03.2024 17:04:27
Вячеслав Мезенцев

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

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

Группа: Moderator

SMath Studio compatibility

Updated.

Changes:

- gsl_msc_ver and gsl_msc_full_ver operands added.

Maybe this will help in the future.

Click to enlarge

Показать спойлер



Links:

1. Microsoft Visual C++ compiler versioning
2. How to Detect if I'm Compiling Code with a particular Visual Studio version?

I do not attach the necessary package with support libraries because I don't know what compiler the project itself is built with. This is done on the build server side and may change from time to time.
All similar plugins have a similar problem.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
sergio 05.03.2024 02:59:00
#32 Опубликовано: 04.03.2024 22:19:45
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Hi Viacheslav. Thanks. I forgot to tell the operating system: Win10 32 bit. I check the 64 bit version and works fine, as you says. The library gsl32.dll seems to need vcruntime140.dll and msvcp140.dll. I see if I can update Microsoft Runtime support library also.

Best regards.
Alvaro.
#33 Опубликовано: 05.03.2024 00:54:12
Вячеслав Мезенцев

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

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

Группа: Moderator

Wrote

I forgot to tell the operating system: Win10 32 bit.


There really is a problem with the 32-bit version of the GSL. I can't debug the function because it gives me an error. This may be due to the project settings for building the 32-bit version of the plugin.

P.S. Only some of the functions in the 32-bit version of the library do not work.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Alvaro Diaz Falconi 05.03.2024 12:49:00
#34 Опубликовано: 08.10.2024 22:38:03
Lupus the Canine

Lupus the Canine

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

Группа: User

Would it be possible to correctly handle units in formulas. Right now, units are present in the first step but then stripped away breaking formulas.
Zrzut ekranu 2024-10-08 173700.png
#35 Опубликовано: 08.10.2024 22:51:35
Вячеслав Мезенцев

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

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

Группа: Moderator

I'll think about it. There are about 30 types of solvers supported now and I'll need to rework them all. If I can rework a few solvers, I'll use that experience to update the rest. But I can't promise anything yet.
Russia ☭ forever, Viacheslav N. Mezentsev
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений