Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline smash  
#1 Posted : 07 May 2020 14:36:36(UTC)
smash

Rank: Newbie

Groups: Registered
Joined: 07/05/2020(UTC)
Posts: 2
Germany

Was thanked: 1 time(s) in 1 post(s)
Hello everybody,

Great Tool and also very unique possibility to export Worksheet as EXE, perfect!
I am wondering if anybody ever thought about using SMath to collect formulas that could then be exported to a DLL and used by other programs for calculation.

Even more I would be interested in an export function for script code that could be implemented in other programs or compiled.

Why that?
It is extremely handy to develop and document calculations in SMath, but these functions need to be re-programmed afterards. Why not have an C++, Python or VBS exporter for that?

Maybe somebody already made a plugin that I didnt find?

Cheers
SMash
thanks 1 user thanked smash for this useful post.
on 07/05/2020(UTC)
Offline uni  
#2 Posted : 07 May 2020 17:39:02(UTC)
uni


Rank: Advanced Member

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

Was thanked: 926 time(s) in 527 post(s)
I think this is not possible in general case. Alternatively, you can use the command mode of the program. You can try portable version for this. So you can call SMath Studio as an external command tool. Theoretically, you can use the symbolic core of the program, but the author does not recommend doing this without permission.

I was thinking of having a symbolic engine as a dll for mathematical calculations. That's why I created this project.
Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
Offline Davide Carpi  
#3 Posted : 07 May 2020 20:00:48(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,278
Man
Italy
Location: Italy

Was thanked: 1155 time(s) in 759 post(s)
Originally Posted by: smash Go to Quoted Post
but these functions need to be re-programmed afterards. Why not have an C , Python or VBS exporter for that?


Within a certain range of flexibility it is possible, depends if you need to export the functions or the whole worksheet, functions written somewhere in the worksheet and passed as argument later or data unprocessed, and what is supported on both sides; f.e. microMathematics Plus and a Grasshopper plugin they both read the sm files, in WriterRegion you can simply copy and paste an equation from SMath to Microsoft Word, there are plugins to convert SMath data to excel/odt/latex/... formats
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: paypal.me/dcprojects
Offline Razonar  
#4 Posted : 07 May 2020 21:43:49(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 505
Uruguay

Was thanked: 300 time(s) in 186 post(s)
Originally Posted by: smash Go to Quoted Post
Hello everybody, ...

It is extremely handy to develop and document calculations in SMath, but these functions need to be re-programmed afterards. Why not have an C++, Python or VBS exporter for that?

Maybe somebody already made a plugin that I didnt find?

Cheers
SMash


Hi. You can try to use the codegen package from maple:

https://www.maplesoft.co...e/view.aspx?path=codegen

Maple is avaible at version 6 from a Viacheslav plugin.

Hope this helps.
Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 08/05/2020(UTC)
Offline smash  
#5 Posted : 08 May 2020 08:23:55(UTC)
smash

Rank: Newbie

Groups: Registered
Joined: 07/05/2020(UTC)
Posts: 2
Germany

Was thanked: 1 time(s) in 1 post(s)
Thank you very much for your replies. I'll give Maple a go then!
Offline Jean Giraud  
#6 Posted : 08 May 2020 17:52:17(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 4,714
Canada

Was thanked: 796 time(s) in 630 post(s)
Originally Posted by: smash Go to Quoted Post
Thank you very much for your replies. I'll give Maple a go then !

A mild Engineering task to give it your go .

Maths EDU [l_p_c_splines TOOLBOX] Hermite RHMSD.sm (88kb) downloaded 25 time(s).


Users browsing this topic
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.