Maple Tools

Maple Tools - Symbolic engine for SMath Studio. - Mensajes

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 24/4/2013 18:14:55
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

One example.

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

im4.jpg MapleWrapper_screen3.png
Russia ☭ forever, Viacheslav N. Mezentsev
A 2 usuarios les gustó este mensaje
Oscar Campo 24/4/2013 18:43:00, Radovan Omorjan 25/4/2013 4:57:00
#83 Publicado: 25/4/2013 16:59:38
kaka

kaka

1 me gusta en 25 mensajes.

Grupo: 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 Publicado: 25/4/2013 17:48:56
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 26/4/2013 2:16:23
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 26/4/2013 7:48:53
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 26/4/2013 14:30:59
kaka

kaka

1 me gusta en 25 mensajes.

Grupo: 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 Publicado: 2/5/2013 8:54:37
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 2 usuarios les gustó este mensaje
Martin Kraska 2/5/2013 17:58:00, Radovan Omorjan 2/5/2013 10:12:00
#89 Publicado: 2/5/2013 14:15:41
Janusz

Janusz

7 me gusta en 48 mensajes.

Grupo: User

Hello Uni,

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

Greetings!
#90 Publicado: 2/5/2013 17:57:00
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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 Publicado: 2/5/2013 18:10:54
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 3/5/2013 18:35:30
Janusz

Janusz

7 me gusta en 48 mensajes.

Grupo: User

Hello!

I got an error like in this example below:

Error:

Regards,

Janusz

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

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: 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 Publicado: 3/5/2013 19:00:43
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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 Publicado: 3/5/2013 19:09:47
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: 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 Publicado: 3/5/2013 19:18:27
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 3/5/2013 19:21:37
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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 Publicado: 3/5/2013 19:28:03
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
#99 Publicado: 3/5/2013 19:36:16
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 4/5/2013 5:59:40
Janusz

Janusz

7 me gusta en 48 mensajes.

Grupo: User

Hello!

Citar

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
  • Nuevos mensajes
  • Sin mensajes nuevos