Rank: Guest
Groups: Guests
Joined: 11/07/2008(UTC) Posts: 27
|
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. Edited by moderator 11 January 2011 14:36:53(UTC)
| Reason: Title modification (because such title is already exists)
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
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: t←mat(1,2,1,0,2,2)el(t,1,1)/{el(t,1,2)*el(t,2,1)}=0.5sum((el(t,1,1)/{el(t,1,2)*el(t,2,1)}),n,1,1)=0.25Andrey should clarify this behavior as soon as he can. Regards, Radovan Edited by user 11 January 2011 12:41:14(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/01/2011(UTC) Posts: 5 Location: Brescia Italy
|
I am also experiencing problems with the summation (function in the summation)
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, PaoloM wrote:I 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!" |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/01/2011(UTC) Posts: 5 Location: Brescia Italy
|
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
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, PaoloM wrote:Hi 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!" |
|
|
|
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.