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 Davide Carpi  
#1 Posted : 13 June 2012 11:38:56(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Hi,

considering a report made by omorr, I found this bug:

0.94 - bug with transpose

here is the file in the image: howisthisposible_debug.zip


regards,

w3b5urf3r

Edited by moderator 16 June 2012 22:57:26(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 13/06/2012(UTC)

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

Offline omorr  
#2 Posted : 13 June 2012 12:22:01(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)
Thanks to both of you w3b5urf3r and Oscar for investigating this issue. It seems something is really problematic in SMath regarding all of this.

I am surprised with this one - definitely a bug Sad

BTW., as we mentioned in the previous post, if you use f(X):eval(transpose(X)*X) or f(X):line(res:eval(transpose(X)*X),res,2,1) you can get the right answer, regardless of Optimization of course. The problem is that you can not use eval() sometimes. It will simply not work. It would be very useful if we could use eval() every time when we need just the numerical answer. But I think that this is not possible due to the internal SMath engine. To be honest, as I mentioned few times, I really do not know when we can use eval() and when we can not. It is a bit trial-and-error procedure for me.

Hope that Andrey will have the solution to these problems ASAP.

Regards,
Radovan

Edited by user 13 June 2012 12:33:36(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
thanks 1 user thanked omorr for this useful post.
on 13/06/2012(UTC)
Offline oscampo  
#3 Posted : 13 June 2012 15:45:05(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 246
Man
Colombia
Location: Cali, Colombia

Was thanked: 85 time(s) in 65 post(s)
Originally Posted by: w3b5urf3r_reloaded Go to Quoted Post
Hi,

considering a report made by omorr, I found this bug:

0.94 - bug with transpose

here is the file in the image: howisthisposible_debug.zip


regards,

w3b5urf3r


I investigated a little bit more and I found that there are relations between optimization type applied to function definition and function evaluation. With numeric optimization and none optimization, the results are right regardless optimization type applied to function evaluation:



Oscar Campo
thanks 2 users thanked oscampo for this useful post.
on 13/06/2012(UTC),  on 13/06/2012(UTC)
Offline kmihaylovich  
#4 Posted : 13 June 2012 15:51:57(UTC)
kmihaylovich


Rank: Member

Groups: Registered
Joined: 22/06/2010(UTC)
Posts: 13
Location: Питер

Was thanked: 5 time(s) in 4 post(s)
This is because program performs simplification of the X^T*X - for some reason SMath Studio thinks that X*X^T is more readable or that it will be calculated faster (just guessing, any reason could be here). And program have no idea what is X - matrix or not. So it looks like correct behavior. I don't know, but I think other programs should have the same issue. Obviously it should happen only with symbolic optimization.
thanks 1 user thanked kmihaylovich for this useful post.
on 13/06/2012(UTC)
Offline Andrey Ivashov  
#5 Posted : 16 June 2012 18:27:19(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Fixed.

Best regards.
File Attachment(s):
SyLib.7z (26kb) downloaded 29 time(s).
thanks 2 users thanked Andrey Ivashov for this useful post.
on 16/06/2012(UTC),  on 16/06/2012(UTC)
Offline omorr  
#6 Posted : 16 June 2012 20:49:01(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)
It seems it is working OK now, thank you Andrey Good

Regards,
Radovan
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.