Maxima Plugin

Maxima Plugin - Messages

#181 Posted: 5/11/2016 8:44:12 AM
kilele

kilele

133 likes in 397 posts.

Group: User

Wrote

Wrote

I think Davide uses a code converter quite good that he mentioned recently in the forum, maybe the old applet code of Jasymca would be easier to translate into C#



Unfortunately to convert from Java to C# the jfftpack (Java translation of fftpack) I've done all manually (but in that particular case are all just math functions, thousands lines to change, but just few things to deal with).



If I got it right, you can't translate jfftpack with the converter?
What about making an alternative fftpack library compatible with the jasymca code you've managed to convert? generated from scipy.fftpack or from csharp assemblies on SmartMathLibrary.FFTPACK
#182 Posted: 5/11/2016 8:57:04 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

I've converted it manually, now is part of the plugin FFPACK (available since a while in the Extensions Manger); I've named the conversion SharpFFTPACK [SVN|GitHub] and relased it in the Public Domain as they are jfftpack and FTTPACK itself; thus in this case there's no need to wrap other libraries or deal with other languages).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#183 Posted: 5/11/2016 9:13:47 AM
kilele

kilele

133 likes in 397 posts.

Group: User

I see, you mean it is difficult to know how jasymca works in order to be converted? just a thought: inspect input, outputs variables when running the software, a bit of reverse engineering, there's no need to understand how everything works, maybe you can repackage some of that code on a few useful assemblies.
#184 Posted: 5/11/2016 12:52:07 PM
kilele

kilele

133 likes in 397 posts.

Group: User

Could these UML generators for java be of help to understand Jasymca?
I think some of them can take a java code, generate a uml diagram and in turn generate csharp code.
https://sourceforge.net/projects/javacalltracer/
http://argouml.tigris.org/features.html
Visual paradigm(trial): https://www.visual-paradigm.com/support/documents/vpuserguide/276/277/39788_javatosequen.html
Enterprise architect (not free)
#185 Posted: 5/11/2016 12:55:38 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Wrote

Could these UML generators for java be of help to understand Jasymca?
I think some of them can take a java code, generate a uml diagram and in turn generate csharp code.
https://sourceforge.net/projects/javacalltracer/
http://argouml.tigris.org/features.html
https://www.visual-paradigm.com/support/documents/vpuserguide/276/277/39788_javatosequen.html
Another ones without free or trial version: Visual paradigm, Enterprise architect.



Kilele,

Jasymca can be another symbolic engine for SMath, however it is not related to Maxima.

If you think that there is some validity to the engine you could start a new threat and compile all the information regarding using jasymca in .NET environment there.

In fact Uni has already done some work on it.

http://en.smath.info/forum/yaf_postst2577_symbcs.aspx
#186 Posted: 9/25/2016 11:20:23 AM
frapuano

frapuano

13 likes in 115 posts.

Group: User

Hi Martin

have seen your post about the method to make it work again Maxima in the latest Smath release ( see herewith an excerpt ) even if with limitations in some functions .

"Next action: Test Maxima Plugin

- tools> Plugins> Interactive books> online gallery, download Interactive SMath Handbook, check use by default. Press "open"
- Launch interactive handbook: [?] Plugins, in plugins page follow link to plugin dir (green button next to plugin name (Maxima)
- Close SMath (otherwise you can't remove the Maxima dll in the plugin dir)
- Exchange contents of the single subdirectory by the contents of SVN 2175 version (see SS 2347
- Start SMath "

One thing that is not clear to me ( I apologize in advance for the elementary question ) is the 4th sentence " -Exchange contents of the single subdirectory...and so on", of which directory are you referring to ?

Hope that doing so I am at least able to do same elementary Symbolic determinants.

Best regards

Franco
#187 Posted: 9/25/2016 7:07:14 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Hi Martin

have seen your post about the method to make it work again Maxima in the latest Smath release ( see herewith an excerpt ) even if with limitations in some functions .

"Next action: Test Maxima Plugin

- tools> Plugins> Interactive books> online gallery, download Interactive SMath Handbook, check use by default. Press "open"
- Launch interactive handbook: [?] Plugins, in plugins page follow link to plugin dir (green button next to plugin name (Maxima)
- Close SMath (otherwise you can't remove the Maxima dll in the plugin dir)
- Exchange contents of the single subdirectory by the contents of SVN 2175 version (see SS 2347
- Start SMath "

One thing that is not clear to me ( I apologize in advance for the elementary question ) is the 4th sentence " -Exchange contents of the single subdirectory...and so on", of which directory are you referring to ?

Hope that doing so I am at least able to do same elementary Symbolic determinants.

Best regards

Franco



The path where the dll resides, looks like that:

C:\FHB\Software\SMath\SMath 98.6096b\extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\1.97.5327.41309

I tried to upload a new portable version with maxima ](zip file of 150M but failed due to server time out.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#188 Posted: 9/26/2016 12:12:22 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... back to "Jasymca"
simple to test: try it on the 3 documents posted yeaterday
"modeling the closed control loop". Let's see what it does.
#189 Posted: 9/26/2016 2:59:12 AM
frapuano

frapuano

13 likes in 115 posts.

Group: User

Thanks a lot Martin for your feedback and hope that the Maxima plug-in project will be keept alive for the next future.

Best Regards

Franco
#190 Posted: 9/26/2016 9:19:33 AM
frapuano

frapuano

13 likes in 115 posts.

Group: User

Martin

just as a last clarifications , the other dll's - the SharpVectors.xxxx' ones - that are in the SVN2178 shouldn't be considered for addressing the Maxima issue

Best regards

Franco

_Silvy4.png
#191 Posted: 9/26/2016 11:14:07 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Here is a temporary download link for an updated portable SMath with Maxima ( 150MB ).

This is just a temporary solution with problems in SVG graphics display (image region issue) and partly disabled takeover of SMath functions by Maxima (SMath core feature, takeover not allowed any more for certain functions).

Yet, this is the most convenient way to use a current SMath version with Maxima. Does not work under Win 10.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#192 Posted: 9/26/2016 1:35:17 PM
frapuano

frapuano

13 likes in 115 posts.

Group: User

Thanks a lot Martin , downloaded .
I really appreciate. I'll cope with the limitations.

Best regards

Franco
#193 Posted: 9/27/2016 3:34:08 PM
genf

genf

6 likes in 72 posts.

Group: User

Wrote

Does not work under Win 10.



Вот оно в чем дело. И вариантов для Win 10 нет?
#194 Posted: 9/27/2016 5:20:31 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Wrote

Does not work under Win 10.



Вот оно в чем дело. И вариантов для Win 10 нет?



Один студент показал мне что мой спец-максима там не работает. Если у вас Максима установится и работает нормално, то можете попробовать связ со стороны SMath (Insert> Maxima> Settings). Но это не будет портативным решением.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Serg 9/27/2016 6:35:00 PM
#195 Posted: 12/30/2016 9:22:05 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

I uploaded a preliminary portable distribution of SMath 0.98.6179 with Maxima to our SMath Support page.

https://extmoodle.th-brandenburg.de/mod/resource/view.php?id=763

You should be able to access the file in our external moodle server without password.

The distribution is preliminary in that it does not include updated documentation.

It is not possible any more to overwrite native SMath functions from within plug-ins. Therefore, the Maxima versions of int(4), det(), sum(4) and diff() must be accessed now as Int(4), Det(), Sum() and Diff(). Unfortunately, these functions lack a nice operator form.

Thanks to Davide Carpi for providing the updated dll of the Maxima Plugin.

Please report any problems to the forum.

Martin Kraska
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
3 users liked this post
Davide Carpi 12/30/2016 9:35:00 PM, Radovan Omorjan 12/31/2016 7:41:00 AM, Serg 1/2/2017 1:07:00 PM
#196 Posted: 12/31/2016 5:32:42 AM
sergio

sergio

115 likes in 329 posts.

Group: User

Martin, I note that registration is required. Thanks for keeping the plugin.

sergio
#197 Posted: 12/31/2016 9:54:55 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Martin, I note that registration is required. Thanks for keeping the plugin.

sergio



It is the first time that I use our external Moodle for distributing stuff. I'd expect that users have to register (create a guest login). So far I can't see any activty by guest users. That may be due to that there was no activity (registration, file access) or that I don't access this information correctly.

If registration is a problem for the community, I could switch to some other distribution platform like github, which I use for my calculix examples. On the other hand, any posting in this forum requires a registration as well...

Earlier versions were distributed via the SMath wiki file repository. This seems to have a file size limitation now (tested some months ago).

Martin Kraska

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Radovan Omorjan 12/31/2016 2:31:00 PM, sergio 12/31/2016 10:51:00 AM
#198 Posted: 12/31/2016 2:34:19 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Martin,

I see no problem in using your Moodle system. Thank you very much for that.

BTW, there is just a minor problem when opening the Reference book. There is an error about missing it - the folder was "C:\FB\...". It can be fixed by setting the Reference book as the default one.

Best Wishes,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#199 Posted: 12/31/2016 6:42:07 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote


BTW, there is just a minor problem when opening the Reference book. There is an error about missing it - the folder was "C:\FB\...". It can be fixed by setting the Reference book as the default one.



Radovan, thanks for reporting the problem. I should modify the handbook path in the settings file to a relative one. Then it would work as long as your current dir in SMath is the install dir.

As you say, selecting an interactive book as the default one in the extension manager writes the absolute path to the settings file.

This is not good for a portable installation on an usb stick, which may have a different device letter on different computers. Therefore, for now best is the relative path.

Martin Kraska
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Davide Carpi 1/2/2017 12:36:00 PM, Radovan Omorjan 12/31/2016 7:32:00 PM
#200 Posted: 1/15/2017 1:40:55 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

There is a significant change in the behaviour in the function definition/evaluation logic between 0.97.5737 (or younger) and 0.98.6179.

In the example below, the expressions in the function evaluation are now stored as they are, formerly, the integrals were evaluated (by Maxima) and the result was stored. This is not necessarily a bug, just an observation. Yet unexpected, as one would have to enforce pure storage by a line block.

However, we also see that the symbolic result of a function call depends on the name of the actual function argument. File not found.File not found.

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
frapuano 3/7/2017 3:44:00 PM, Arie 1/17/2017 11:16:00 AM
  • New Posts New Posts
  • No New Posts No New Posts