GNU Scientific Library (GSL)

GNU Scientific Library (GSL) - The GNU Scientific Library 2.x. - Messages

#21 Posted: 12/20/2021 4:11:14 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 12/24/2021 6:00:02 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Updated.

Changes:

- updated to GSL 2.7;
- gsl_version operand added;
- refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
#23 Posted: 12/24/2021 11:13:05 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
sergio 12/24/2021 12:20:00 PM
#24 Posted: 12/24/2021 6:28:46 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 2/1/2022 9:27:54 AM
DenisArd

DenisArd

0 likes in 1 posts.

Group: 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 Posted: 6/3/2022 3:51:43 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility gsl_interp.cpp

Updated.

Changes:

- gsl_interp() function added.

Click to enlarge

gsl_interp.sm (8 KiB) downloaded 96 time(s).

Links:

1. GSL Interpolation.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
churichuro 6/3/2022 7:00:00 PM
#27 Posted: 6/5/2022 1:32:31 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
sergio 6/6/2022 6:46:00 AM
#28 Posted: 3/10/2023 10:27:36 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
sergio 3/10/2023 5:10:00 PM, Oscar Campo 3/14/2023 6:35:00 AM
#29 Posted: 3/3/2024 2:18:11 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Viacheslav. It looks like a bug.

bug.png

Best regards.
Alvaro
#30 Posted: 3/4/2024 2:24:55 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 3/4/2024 5:04:27 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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

Show Spoiler



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 users liked this post
sergio 3/5/2024 2:59:00 AM
#32 Posted: 3/4/2024 10:19:45 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: 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 Posted: 3/5/2024 12:54:12 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
Alvaro Diaz Falconi 3/5/2024 12:49:00 PM
#34 Posted: 10/8/2024 10:38:03 PM
Lupus the Canine

Lupus the Canine

0 likes in 7 posts.

Group: 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 Posted: 10/8/2024 10:51:35 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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
  • New Posts New Posts
  • No New Posts No New Posts