Maple Tools

Maple Tools - Symbolic engine for SMath Studio. - Messages

#1 Posted: 14 years ago
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Maple Tools

SMath Studio compatibility SMath Viewer compatibility mono compatibility Extension page Sources Examples


Functions: maple().
Components: Maple, Maple Plot.

For now I just want to show how to use old symbolic engine in SMath Studio. We haven't normal symbolic engine yet, so I decided to use cmaple.exe for this purpose.

Click to enlarge Click to enlarge Click to enlarge Click to enlarge

Examples:

maple-system-tools.sm (17 KiB) downloaded 209 time(s).

plot3d() example plot() example implicitplot3d() example contourplot() example fieldplot() example polarplot() example

Links:

1. Maple interpreter (rus)
MapleWrapper. Examples.pdf (66 KiB) downloaded 1167 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
4 users liked this post
Oscar Campo 3 years ago, Radovan Omorjan 14 years ago, ioan92 12 years ago, frapuano 6 years ago
#2 Posted: 14 years ago
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Thank you uni for this one very much,

I tried it but unfortunately I did not figure out how to use it. Just copied the folders from the zip archive, started SMath and even I could see that the MapleVR4 plugin present in the plugin list, there is also a maple() function in the function list but did not figure out how to use it. Never mind, I am just very grateful to you for working on this issue.

BTW, is there any chance to include some other (free) symbolic engines into SMath?

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 14 years ago
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Please, Uni or Omorr, could you translate the text on the image on first post?

Thanks a lot

oscampo
#4 Posted: 14 years ago
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Quote

BTW, is there any chance to include some other (free) symbolic engines into SMath?



SMath Studio Should have own symbolic engine. Some knowledge is needed for this. Except the author, I also try to do researches in this area. These knowledges are based on works of 1960-1970th years in MIT. Before transformation were executed on LISP. Here there are two programs which I try to restore:

SIN: https://mysvn.ru/cop/sin/SIN.lisp
SOLDIER: https://mysvn.ru/cop/sin/SOLDIER.lisp

The description can be found here (Joel Moses):
LISP 1.5 family

Joel Moses. Symbolic Integration. AI Memo 97, Artificial Intelligence Project, MAC-M-310, Project MAC, Massachusetts Institute of Technology, June 10, 1966, 17 pages.
ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-097.pdf

Joel Moses. Symbolic Integration II. AI Memo 97a, Artificial Intelligence Project, MAC-M-327, Project MAC, Massachusetts Institute of Technology, October 13, 1966, 12 pages.
ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-097a.pdf

As to other possibilities, yes it is possible, but it can't be done, because work on own symbolic engine will be stoped or paused. We'll get history of Mathcad in this case (only numeric -> maple engine -> mupad engine -> ? (Mathcad Prime)).

On the picture the mechanism of work is described. It's not so needed for use maple() function. Try some expression on the picture. If you'll see any result then it works.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Posted: 14 years ago
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello uni,

If I understood you well, your intention is to improve the SMath own symbolic engine. I appreciate that, thank you.

BTW, the maple plugin did not work for me.



Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#6 Posted: 14 years ago
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

I have forgotten that separators can be different. As you see I use other adjustments ("," and ";" instead of "." and "," like on your example). Number PI isn't supported yet, it is necessary to write so: Pi (maple notation).

Quote

If I understood you well, your intention is to improve the SMath own symbolic engine.


Yes, that's right.
Russia ☭ forever, Viacheslav N. Mezentsev
#7 Posted: 14 years ago
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

Please, Uni or Omorr, could you translate the text on the image on first post?

Thanks a lot

oscampo



The algorithm (C#):

Show Spoiler


I can make system() function for executing external programs but this is dangerous.
Russia ☭ forever, Viacheslav N. Mezentsev
#8 Posted: 14 years ago
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Wrote

I have forgotten that separators can be different. As you see I use other adjustments ("," and ";" instead of "." and "," like on your example). Number PI isn't supported yet, it is necessary to write so: Pi (maple notation).


Unfortunately, I can not make it work. There is no difference regarding languages, decimal and argument separator. It is not working for me. I will try some more. I hope that someone else will have success in trying this plugin.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
#9 Posted: 14 years ago
kilele

kilele

133 likes in 397 posts.

Group: User

Wrote


Quote

If I understood you well, your intention is to improve the SMath own symbolic engine.


Yes, that's right.



You might want to take a look at this symbolic calculator written in java. Sources at :
http://webuser.hs-furtwangen.de/~dersch/jasymca2/indexEN.html

Maybe the SMath developer plans to use the library Mathdotnet, funded by Microsoft, which eventually will support symbolics.

1 users liked this post
#10 Posted: 14 years ago
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

I am not a programmer and do not know how the things are working regarding SMath development, but regarding plugins I was hopping (and still I am) that the thing would go this way. I thought that there would be interested people to just made some plugins from already free existed numerical and symbolical libraries - like a lego bricks. I might be wrong or there must be some other things to be done regarding the plugin functionality, or maybe there are some project on the way - I do not know. Anyway, I still think that the best way for SMath is just to incorporate as many numerical functions as possible from different available sources and to incorporate already existing symbolic engines side by side with the SMath core functionality. On the other way, I think that SMath needs just few more numerical and symbolical features (equations solvers, fitting, plotting capabilities etc.) in order to be used by many of users on a daily basis.

I might be naive about this, but the only thing I wish is that the SMath become quite powerful and to have larger user base.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#11 Posted: 14 years ago
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Radovan, I think that there is a possibility to connect any mathematical package (like Maple, Matlab, Mathematica...), but they should be installed in system. If you have Matlab (for example, with size of 1-10 Gb ), why you need SMath Studio in this case?

It is possible to be connected to free packages (AlgLib, ...), but only without fanaticism. Otherwise SMath Studio will lose the status of the mathematical program, and will be only the interface with plug-ins to mathematical engines. That's why I am careful in this question.
Russia ☭ forever, Viacheslav N. Mezentsev
#12 Posted: 14 years ago
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello uni,

Thank you for the reply, but I think I did not make myself clear. I'll try to be more specific.
I just think that SMath needs to be more powerful. It needs few more solvers (algebraic, ODE etc.) and some other things. For instance, I am very grateful to you that you made the Mathcad like ODE solvers. I hope they will be a standard SMath plugin. Smath needs some more numerical functions - you already did some from Mathcad as well. It needs some more symbolic features - you try to do the same as well. The question is - how to make SMath a bit more powerful in a relatively acceptable period of time in the future? SMath made quite a progress in past few years and I am really convinced that SMath needs only few more things in order to be used by many more users on a daily basis. As I could see there are two things to be done. Firstly, Andrey to continue developing the SMath core as he is doing, but he can not do all these things in SMath - this is impossible. Secondly, good willing people (like you) to make plugins. Now, I did not quite understand how to make those plugins. I do not understand what could be reused in SMath from other available sources and just make "packages"-plugins for SMath and, moreover, what could be useful for SMath and its users.
Wrote

Radovan, I think that there is a possibility to connect any mathematical package (like Maple, Matlab, Mathematica...), but they should be installed in system. If you have Matlab (for example, with size of 1-10 Gb ), why you need SMath Studio in this case?


No, not at all. I am not using either of these programs and there is no need to make any plugin to connect with them - just my opinion.
Wrote

It is possible to be connected to free packages (AlgLib, ...), but only without fanaticism. Otherwise SMath Studio will lose the status of the mathematical program, and will be only the interface with plug-ins to mathematical engines. That's why I am careful in this question.


Sorry, I did not understand this at all. Could you please explain that to me.
Let us imagine the present state of SMath as it now but with few hundred numerical functions more in the function list, with more symbolic possibilities and features. I think that the average user would not care where those things come from while he/she is able to do the all the math calculations in SMath (without installing some additional commercial packages, of course). At the present state, some more advanced user will say:"Hmm...I like SMath but unfortunately I can not do this or that in it and I am forced to use some other math tool".
I could not see how SMath could lose the status of a mathematical program by incorporating in it some freely available numerical or symbolical libraries. SMath can not compete with, say, Matlab because there are thousands of programmers involved in its development and it is not the point to compare Matlab and SMath. However, as far as I know even than Matlab used and incorporated in it lots of freely available numerical libraries. The same thing is with, say, Scilab (free Matlab like software). There are lots of incorporated freely available libraries as well.

I might be wrong about all of this, of course, but can not see what could be wrong in making plugins from some freely available, well established C, C++, C# numerical library (or even Fortran), if this could be possible. On the other hand, I would not really care if some other (free) symbolic engine is present in SMath as a plugin - contrary I would like that (BTW, I prefer, say, Jasymca over Maple). Actually, I would be very grateful if someone is willing and could do all of this.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
#13 Posted: 14 years ago
kilele

kilele

133 likes in 397 posts.

Group: User

Please look at
http://bit.ly/puJvvD
There are links to numerical .Net libraries and also a library for accessing matlab from .Net
As for me I'll try to learn c# and make some plugin.
1 users liked this post
#14 Posted: 14 years ago
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

As a reminder, uni made few just amazing plugins. Just see this pages:
ODEsolvers
debugger
mcadefi
Alglib
plot3D

I hope I did not miss any.
Many thanks to uni

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
#15 Posted: 14 years ago
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

In Russian part of a forum there is one more library: FIRFilterDesign.dll. With function remez().
FIR Filter Design (rus)
Russia ☭ forever, Viacheslav N. Mezentsev
#16 Posted: 14 years ago
Steen Grode

Steen Grode

0 likes in 6 posts.

Group: User

I get an error from the Mapledos. Something around VirtualDeviceDrivers.VDD - the format is illegal. It has to do with 16bit, but I know nothing more than that.
When I ignore this error in smath the command Maple does nothing - sometimes I get an error message saying: Fill out every empty places (or something like this, I am translating back to English from the Danish message). If I instead try to run Mapledos in a commandprompt it reports that VDM IPX/SPX isn't supported but apart from this I can actually run Mapledos in this commandprompt.

Has anybody got a clue why smath can't communicate with this?

And, Uni, I have noticed that your maple files are slightly different from what I am running under Mathcad 11.2SG. Can this be something related to sources and could this possibly have any impact on my issues?
#17 Posted: 13 years ago
adiaz

adiaz

5 likes in 25 posts.

Group: User

Hi uni. Can you upload again the maple plugin? File was deleted from cd.ru. Thanks.
#18 Posted: 13 years ago
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

Hi uni. Can you upload again the maple plugin? File was deleted from cd.ru. Thanks.


Try this one: mvr4_20120926.zip. In the plugins folder there is a log file of transformations: mvr4.txt. Don't forget to check it periodically.

Russia ☭ forever, Viacheslav N. Mezentsev
#19 Posted: 13 years ago
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello uni
Wrote

Please, Uni or Omorr, could you translate the text on the image on first post?

Thanks a lot

oscampo


Thank you for your efforts on this but, unfortunately, there is no way for me to understand how is this working and how should this plugin be used .

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#20 Posted: 13 years ago
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

Hello uni

Wrote

Please, Uni or Omorr, could you translate the text on the image on first post?

Thanks a lot

oscampo


Thank you for your efforts on this but, unfortunately, there is no way for me to understand how is this working and how should this plugin be used .

Regards,
Radovan



Ok. I'll make simple video tutorial.
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
ioan92 12 years ago, Radovan Omorjan 13 years ago, Oscar Campo 13 years ago
  • New Posts New Posts
  • No New Posts No New Posts