SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
inv(matrix) * matrix does not give unity matrix?
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, Maybe a minor issue, but I think this should be corrected. Result must be the unity matrix. Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,986 Was thanked: 1124 time(s) in 721 post(s)
|
Radovan, guess what the answer is... Because A is defined symbolically. Each use of A calls the definition and produces new random numbers. It does not help to switch optimization to numeric, because that first generates the random number and then adds it to the zero matrix. Thus A becomes singular (all identical numbers.) One might wish to define more precisely, what adding a random number to a matrix should give. First picking the number and adding it or first adding the call to all elements and then picking the numbers. Edited by user 09 September 2014 17:49:12(UTC)
| Reason: Not specified mkraska attached the following image(s): |
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
I think you agree with me that this simple example reveals (again) the peculiarities of symbolic-numeric SMath problem
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
inv(matrix) * matrix does not give unity matrix?
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.