1 страниц (6 вхождений)
Problem with summation 2 - Сообщения
#1 Опубликовано: 10.01.2011 22:47:49
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 Опубликовано: 11.01.2011 06:33:37
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 Опубликовано: 12.01.2011 12:20:55
I am also experiencing problems with the summation (function in the summation)
#4 Опубликовано: 12.01.2011 13:46:50
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 Опубликовано: 13.01.2011 04:47:37
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 Опубликовано: 13.01.2011 05:04:07
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 страниц (6 вхождений)
-
Новые сообщения
-
Нет новых сообщений