Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages<12
Options
Go to last post Go to first unread
Offline uni  
#21 Posted : 20 December 2021 22:11:14(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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.

Edited by user 20 December 2021 22:15:22(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline uni  
#22 Posted : 24 December 2021 12:00:02(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
SMath Studio compatibility

Updated.

Changes:

- updated to GSL 2.7;
- gsl_version operand added;
- refactored.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline uni  
#23 Posted : 24 December 2021 17:13:05(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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

Edited by user 25 December 2021 00:27:51(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 24/12/2021(UTC)
Offline uni  
#24 Posted : 25 December 2021 00:28:46(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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

Edited by user 25 December 2021 00:37:47(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline DenisArd  
#25 Posted : 01 February 2022 15:27:54(UTC)
DenisArd

Rank: Newbie

Groups: Registered
Joined: 01/02/2022(UTC)
Posts: 1
Russian Federation
Location: Moscow

Плагин установлен и виден в 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.co...ad/details.aspx?id=53840

Edited by user 01 February 2022 16:19:59(UTC)  | Reason: Solved

Offline uni  
#26 Posted : 03 June 2022 21:51:43(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
SMath Studio compatibility gsl_interp.cpp

Updated.

Changes:

- gsl_interp() function added.

Click to enlarge

gsl_interp.sm (9kb) downloaded 25 time(s).

Links:

1. GSL Interpolation.

Edited by user 04 June 2022 09:15:40(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 04/06/2022(UTC)
Offline uni  
#27 Posted : 05 June 2022 19:32:31(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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
thanks 1 user thanked uni for this useful post.
on 06/06/2022(UTC)
Offline uni  
#28 Posted : 10 March 2023 16:27:36(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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
thanks 2 users thanked uni for this useful post.
on 10/03/2023(UTC),  on 14/03/2023(UTC)
Offline Razonar  
#29 Posted : 03 March 2024 20:18:11(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi Viacheslav. It looks like a bug.

bug.png

Best regards.
Alvaro
Offline uni  
#30 Posted : 04 March 2024 20:24:55(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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
Offline uni  
#31 Posted : 04 March 2024 23:04:27(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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.

Edited by user 04 March 2024 23:15:01(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 05/03/2024(UTC)
Offline Razonar  
#32 Posted : 05 March 2024 04:19:45(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
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.
Offline uni  
#33 Posted : 05 March 2024 06:54:12(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: Razonar Go to Quoted Post
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.

Edited by user 06 March 2024 20:31:35(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 05/03/2024(UTC)
Users browsing this topic
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.