Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline omorr  
#1 Posted : 21 September 2009 23:10:50(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Helo Andrey,

Just a reminder, in the case you've forgotten.
f(x)←x*x^{-1}
f(5)=1
???
f(mat(1;0;0;0;1;0;0;0;1;3;3))=1
???
mat(1;0;0;0;1;0;0;0;1;3;3)*mat(1;0;0;0;1;0;0;0;1;3;3)^{-1}—mat(1;0;0;0;1;0;0;0;1;3;3)
Regards,
Radovan

Edited by user 22 September 2009 13:56:05(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 15 March 2010 03:08:17(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Andrey,

Actually, regarding the recent comments about "eval" it flashed to my mind and I found the way about this one (it took me a long time to figure out Blush ). We just have to use "eval" in the case of x*x^(-1) in order to work either with scalar or square matrix. The result with a scalar will be unity and with a square matrix wil be the identity matrix - as it should be. Here it is:
f(x)←eval(x)*eval(x^{-1})
f(5)=1
f(mat(1;0;0;5;-2;0;0;0;1;3;3))=mat(1;0;0;0;1;0;0;0;1;3;3)

Regards,
Radovan

Edited by user 15 March 2010 03:12:45(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline omorr  
#3 Posted : 02 April 2010 12:42:43(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Andrey,

I just wonder how the Disabling optimization will work in this case. Do we still need to use "eval" or not?

Regards,
Radovan

PS. What do you think to have Disabling, Enabling optimization globally - as an option, applied on the entire workshet?

Edited by user 02 April 2010 12:46:43(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Users browsing this topic
Guest
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.