Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
Originally Posted by: Davide Carpi Originally Posted by: kilele 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
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1331 time(s) in 876 post(s)
|
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). Edited by user 07 June 2016 19:48:07(UTC)
| Reason: linked GitHub repo |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/03/2014(UTC) Posts: 418 Was thanked: 125 time(s) in 96 post(s)
|
Originally Posted by: kilele 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/for...f_postst2577_symbcs.aspx
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 01/08/2010(UTC) Posts: 115 Location: Rome Was thanked: 13 time(s) in 13 post(s)
|
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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
Originally Posted by: frapuano 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 150MB) but failed due to server time out. Edited by moderator 26 September 2016 12:43:08(UTC)
| Reason: added noparse BBCODE |
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... 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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 01/08/2010(UTC) Posts: 115 Location: Rome Was thanked: 13 time(s) in 13 post(s)
|
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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 01/08/2010(UTC) Posts: 115 Location: Rome Was thanked: 13 time(s) in 13 post(s)
|
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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
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. Edited by user 26 September 2016 17:33:03(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 01/08/2010(UTC) Posts: 115 Location: Rome Was thanked: 13 time(s) in 13 post(s)
|
Thanks a lot Martin , downloaded . I really appreciate. I'll cope with the limitations.
Best regards
Franco
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/06/2013(UTC) Posts: 50 Was thanked: 6 time(s) in 6 post(s)
|
Originally Posted by: mkraska Does not work under Win 10. Вот оно в чем дело. И вариантов для Win 10 нет?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
Originally Posted by: genf Originally Posted by: mkraska Does not work under Win 10. Вот оно в чем дело. И вариантов для Win 10 нет? Один студент показал мне что мой спец-максима там не работает. Если у вас Максима установится и работает нормално, то можете попробовать связ со стороны SMath (Insert> Maxima> Settings). Но это не будет портативным решением. |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
I uploaded a preliminary portable distribution of SMath 0.98.6179 with Maxima to our SMath Support page. https://extmoodle.th-brandenburg...resource/view.php?id=763You 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 |
|
3 users thanked mkraska for this useful post.
|
on 31/12/2016(UTC), on 31/12/2016(UTC), on 02/01/2017(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
Martin, I note that registration is required. Thanks for keeping the plugin.
sergio
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
Originally Posted by: PompelmoTell 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 |
|
2 users thanked mkraska for this useful post.
|
on 31/12/2016(UTC), on 31/12/2016(UTC)
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
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 Edited by user 31 December 2016 21:26:48(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
Originally Posted by: omorr 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 |
|
2 users thanked mkraska for this useful post.
|
on 01/01/2017(UTC), on 02/01/2017(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
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. integration.sm (10kb) downloaded 48 time(s). |
|
2 users thanked mkraska for this useful post.
|
on 17/01/2017(UTC), on 07/03/2017(UTC)
|
|
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.