1 Pages (6 items)
Code generation - Use Smarh to generate script code - Messages
#1 Posted: 5/7/2020 8:36:36 AM
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
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
1 users liked this post
frapuano 5/7/2020 11:08:00 AM
#2 Posted: 5/7/2020 11:39:02 AM
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.
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
#3 Posted: 5/7/2020 2:00:48 PM
Wrotebut 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 to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Posted: 5/7/2020 3:43:49 PM
WroteHello 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.com/support/help/Maple/view.aspx?path=codegen
Maple is avaible at version 6 from a Viacheslav plugin.
Hope this helps.
Best regards.
Alvaro.
1 users liked this post
frapuano 5/7/2020 6:50:00 PM
#5 Posted: 5/8/2020 2:23:55 AM
Thank you very much for your replies. I'll give Maple a go then!
#6 Posted: 5/8/2020 11:52:17 AM
WroteThank 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 (87 KiB) downloaded 112 time(s).
1 Pages (6 items)
-
New Posts
-
No New Posts