Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,549 Was thanked: 1309 time(s) in 767 post(s)
|
You can use only one command as a parameter to a function maple(). So you can't use the command with(). I have added to the archive file with.inc, it will connect every time when you run maple(). Archive: MapleWrapper_20130425.zip P.S. Another way. Edited by user 26 April 2013 12:44:23(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,549 Was thanked: 1309 time(s) in 767 post(s)
|
One example. with.inc: Code:restart:with(linalg):with(inttrans):
Edited by user 26 April 2013 11:17:17(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 25/04/2013(UTC), on 25/04/2013(UTC)
|
|
Rank: Member Groups: Registered
Joined: 18/04/2013(UTC) Posts: 25
Was thanked: 1 time(s) in 1 post(s)
|
Hi Uni, Thank you but it doesn't work for me. I can see the correct answer in mvr5.txt but Smath showed this error, s is not defined. Originally Posted by: uni One example. with.inc: Code:restart:with(linalg):with(inttrans):
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Originally Posted by: kaka Hi Uni, Thank you but it doesn't work for me. I can see the correct answer in mvr5.txt but Smath showed this error, s is not defined.
Have you used the symbolic evaluation? Right-button mouse click and set the optimization option to "Symbolic" regards, w3b5urf3r |
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, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,549 Was thanked: 1309 time(s) in 767 post(s)
|
Yes, you must use the symbolic evaluation ( -> ) but not numerical ( = ). In my examples used symbolic evaluation, it is not visible because I changed the view of symbol (from -> to =). P.S. I can't find now how to change the view of the equal sign. Apparently it was removed in newer versions. For symbolic output you need to press [Ctrl] + [.]. Edited by user 26 April 2013 11:43:43(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Originally Posted by: uni P.S. I can't find now how to change the view of the equal sign. Apparently it was removed in newer versions. For symbolic output you need to press [Ctrl] + [.]. The arrow was removed in the 0.91 relase; I think that would be useful to visually distinguish between optimiztions, maybe with a little "S" in the top-right corner or over the equal sign.... Edited by user 26 April 2013 15:01:02(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Member Groups: Registered
Joined: 18/04/2013(UTC) Posts: 25
Was thanked: 1 time(s) in 1 post(s)
|
Originally Posted by: uni Yes, you must use the symbolic evaluation ( -> ) but not numerical ( = ). In my examples used symbolic evaluation, it is not visible because I changed the view of symbol (from -> to =).
P.S. I can't find now how to change the view of the equal sign. Apparently it was removed in newer versions. For symbolic output you need to press [Ctrl] + [.]. Finally it works now
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,549 Was thanked: 1309 time(s) in 767 post(s)
|
Originally Posted by: mkraska Hello,
the maple plugin seems to be partially incompatible with ; and , settings. For me, with , and . the examples work, with ; and , see attached image (generated with plugin version 2012 10 06). Unfortunately I can't remember if I had that problem earlier. Browsing the forum topic I found that there were times that ; and , was the default setting, that seems to have changed.
Switching to , and . is an option in particular cases, but I am writing a handbook in german that entirely demands and assumes ; and , settings.
Best regards, Martin Kraska Updated. Try again. |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 02/05/2013(UTC), on 03/05/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 19/04/2013(UTC) Posts: 46 Location: Podkarpackie, Poland Was thanked: 7 time(s) in 7 post(s)
|
Hello Uni,
Finally the MapleWrapper_20130502 works for me. Thank you for this new version.
Greetings!
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,023 Was thanked: 1153 time(s) in 739 post(s)
|
Originally Posted by: uni Updated. Try again.
Much better than before. Thank you for the great work. I tried the examples: parse.sm generates formatting problems, the error message says that "Index and length have to refer to a position in the string" in MapleWrapper_Examples, all functions involving strings fail with the same error message, everything else is fine. mkraska attached the following image(s): |
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,549 Was thanked: 1309 time(s) in 767 post(s)
|
Originally Posted by: mkraska Originally Posted by: uni Updated. Try again.
Much better than before. Thank you for the great work. I tried the examples: parse.sm generates formatting problems, the error message says that "Index and length have to refer to a position in the string" in MapleWrapper_Examples, all functions involving strings fail with the same error message, everything else is fine. Yes, this problem is present. I haven't found a good way to make the parsing more flexible. Working on it. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 19/04/2013(UTC) Posts: 46 Location: Podkarpackie, Poland Was thanked: 7 time(s) in 7 post(s)
|
Hello! I got an error like in this example below: Regards, Janusz [Moderator]: Moved.Edited by moderator 04 May 2013 02:43:24(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello Janusz,
That's strange. I can not reproduce this. It works for me.
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,023 Was thanked: 1153 time(s) in 739 post(s)
|
I confirm that. The error message is "Error, (in smath_diff) wrong number (or type) of parameters in function diff|ans" This error does not happen with . as dec separator and , as arg separator. Thus we have still localization problems with maplewrapper.
|
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Originally Posted by: mkraska I confirm that. The error message is "Error, (in smath_diff) wrong number (or type) of parameters in function diff|ans" This error does not happen with . as dec separator and , as arg separator. Thus we have still localization problems with maplewrapper.
It seems you are right Martin. One more confirmation that this problem still persist, in spite of unis' efforts. Regards, Radovan Edited by user 04 May 2013 02:20:32(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,549 Was thanked: 1309 time(s) in 767 post(s)
|
I specially do output to a log file. It is desirable in all such cases to show the contents of the file \plugins\mvr5\mvr5.txt. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,023 Was thanked: 1153 time(s) in 739 post(s)
|
Originally Posted by: uni I specially do output to a log file. It is desirable in all such cases to show the contents of the file \plugins\mvr5\mvr5.txt. Here you are. File Attachment(s): mkraska attached the following image(s): |
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
I think that the latest posts should be moved in the MapleWrapper thread to avoid confusion for Andrey on debugging SMath. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,549 Was thanked: 1309 time(s) in 767 post(s)
|
Try to use the el() function instead of a point: maple(diff(diff(f(x);el(x;1));el(x;2))). Code:maple(diff(diff(f(x);el(x;1));el(x;2))) - copy and paste to SMath Studio
In log file you will see: Code:[->] smath_diff(smath_diff(smath_el(x,1)^3+smath_el(x,2)^2,smath_el(x,2)),smath_el(x,1))
P.S. I didn't know that Maple understands this entry. I didn't plan to support this form of the equation. Edited by user 04 May 2013 03:07:28(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 19/04/2013(UTC) Posts: 46 Location: Podkarpackie, Poland Was thanked: 7 time(s) in 7 post(s)
|
Hello! Quote:I confirm that. The error message is "Error, (in smath_diff) wrong number (or type) of parameters in function diff|ans" This error does not happen with . as dec separator and , as arg separator. Thus we have still localization problems with maplewrapper. Martin, thank you for your explanations concerning this error, I made the change in settings SMath Studio - according to your advices, and all is already well. Regards, Janusz
|
|
|
|
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.