SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Function called with matrix arguments get wrong answer
Rank: Newbie
Groups: Registered
Joined: 19/11/2012(UTC) Posts: 5 Location: Slough
|
See the attached sheet. The call to Vo() with matrix arguments should get the same answer as the individual evaluation, also included in the sheet, but it does not. File Attachment(s): Vreg.sm (17kb) downloaded 19 time(s).
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, No, it is not a bug - just a SMath feature. You divided a scalar (RU) with a matrix (RL), that is wrong. Reciprocal of a matrix gives its inverse, not the reciprocal of its elements as you wanted. Please see the attached corrections Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/11/2012(UTC) Posts: 5 Location: Slough
|
Thanks for the correction. This one might be a good addition to a Gotya section on the wiki if it is not already there.
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Function called with matrix arguments get wrong answer
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.