1 Pages (6 items)
Problem with summation 2 - Messages
#1 Posted: 1/10/2011 10:47:49 PM
problem lies in the parsing of t[1,2] * t[2,1] while being used inside sum and also product functions.
It's fine if either term has both indices the same, but if both have different indices, it squares the first term.
Hence, in the example, 8*8 = 64 leading to the error in the output of the sum.
Result is ok if you use determinant(t) instead of specifying individual terms.
It's fine if either term has both indices the same, but if both have different indices, it squares the first term.
Hence, in the example, 8*8 = 64 leading to the error in the output of the sum.
Result is ok if you use determinant(t) instead of specifying individual terms.
#2 Posted: 1/11/2011 6:33:37 AM
Hello,
It seems you are right (I check that out) but I think this is definitely a bug. The summation operator should not work this way.
Here is another example:
[MATH=eng]t←mat(1,2,1,0,2,2)[/MATH]
[MATH=eng]el(t,1,1)/{el(t,1,2)*el(t,2,1)}=0.5[/MATH]
[MATH=eng]sum((el(t,1,1)/{el(t,1,2)*el(t,2,1)}),n,1,1)=0.25[/MATH]
Andrey should clarify this behavior as soon as he can.
Regards,
Radovan
It seems you are right (I check that out) but I think this is definitely a bug. The summation operator should not work this way.
Here is another example:
[MATH=eng]t←mat(1,2,1,0,2,2)[/MATH]
[MATH=eng]el(t,1,1)/{el(t,1,2)*el(t,2,1)}=0.5[/MATH]
[MATH=eng]sum((el(t,1,1)/{el(t,1,2)*el(t,2,1)}),n,1,1)=0.25[/MATH]
Andrey should clarify this behavior as soon as he can.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 1/12/2011 12:20:55 PM
I am also experiencing problems with the summation (function in the summation)
#4 Posted: 1/12/2011 1:46:50 PM
Hello,
What did you mean by that? Could you explain please.
Regards,
Radovan
WroteI am also experiencing problems with the summation (function in the summation)
What did you mean by that? Could you explain please.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Posted: 1/13/2011 4:47:37 AM
Hi Radovan,
Thanks for your help. I am a Mathcad user. I am trying to see if it is possible to swap on SMathStudio.
Yesterday I made a test with a simple Mathcad file.
Please give me your mail address and I will send you both Mathcad and SMathStudio files.
Thks, bye
Thanks for your help. I am a Mathcad user. I am trying to see if it is possible to swap on SMathStudio.
Yesterday I made a test with a simple Mathcad file.
Please give me your mail address and I will send you both Mathcad and SMathStudio files.
Thks, bye
#6 Posted: 1/13/2011 5:04:07 AM
Hello,
You can see the e-mail in my profile.
Regards,
Radovan
WroteHi Radovan,Please give me your mail address and I will send you both Mathcad and SMathStudio files.
You can see the e-mail in my profile.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 Pages (6 items)
-
New Posts
-
No New Posts