Maple Tools

Maple Tools - Symbolic engine for SMath Studio. - 消息

#81 已发布: 2013/4/24 16:38:40
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

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.

MapleWrapper_screen1.PNG MapleWrapper_screen2.png MapleWrapper_screen4.png
Russia ☭ forever, Viacheslav N. Mezentsev
#82 已发布: 2013/4/24 18:14:55
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

One example.

with.inc:
restart:with(linalg):with(inttrans):

im4.jpg MapleWrapper_screen3.png
Russia ☭ forever, Viacheslav N. Mezentsev
2位用户喜欢此帖子
Oscar Campo 2013/4/24 18:43:00, Radovan Omorjan 2013/4/25 04:57:00
#83 已发布: 2013/4/25 16:59:38
kaka

kaka

1个赞,共25个帖子。

组: User

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.

Snap4.jpg

Wrote

One example.

with.inc:

restart:with(linalg):with(inttrans):



#84 已发布: 2013/4/25 17:48:56
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

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 please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#85 已发布: 2013/4/26 02:16:23
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

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] + [.].
Russia ☭ forever, Viacheslav N. Mezentsev
#86 已发布: 2013/4/26 07:48:53
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

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....
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#87 已发布: 2013/4/26 14:30:59
kaka

kaka

1个赞,共25个帖子。

组: User

Wrote

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
#88 已发布: 2013/5/2 08:54:37
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Wrote

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位用户喜欢此帖子
Martin Kraska 2013/5/2 17:58:00, Radovan Omorjan 2013/5/2 10:12:00
#89 已发布: 2013/5/2 14:15:41
Janusz

Janusz

7个赞,共48个帖子。

组: User

Hello Uni,

Finally the MapleWrapper_20130502 works for me. Thank you for this new version.

Greetings!
#90 已发布: 2013/5/2 17:57:00
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote


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.



maple_examples.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#91 已发布: 2013/5/2 18:10:54
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Wrote

Wrote


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
#92 已发布: 2013/5/3 18:35:30
Janusz

Janusz

7个赞,共48个帖子。

组: User

Hello!

I got an error like in this example below:

Error:

Regards,

Janusz

[Moderator]: Moved.
#93 已发布: 2013/5/3 18:55:36
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

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!"
#94 已发布: 2013/5/3 19:00:43
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#95 已发布: 2013/5/3 19:09:47
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Wrote

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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#96 已发布: 2013/5/3 19:18:27
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

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
#97 已发布: 2013/5/3 19:21:37
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Wrote

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.

maple-prob.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#98 已发布: 2013/5/3 19:28:03
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

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 please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
#99 已发布: 2013/5/3 19:36:16
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Try to use the el() function instead of a point: [MATH]maple(diff(diff(f(x);el(x;1));el(x;2)))[/MATH].
maple(diff(diff(f(x);el(x;1));el(x;2))) - copy and paste to SMath Studio
In log file you will see:
[->] 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.

MapleWrapper_screen5.png
Russia ☭ forever, Viacheslav N. Mezentsev
#100 已发布: 2013/5/4 05:59:40
Janusz

Janusz

7个赞,共48个帖子。

组: User

Hello!

引用

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
  • 有新帖
  • 无新帖