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 : 18 May 2013 01:22:05(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1340 time(s) in 879 post(s)
I noticed this issue: changing from symbolic to numeric the optimization of an evaluation, the evaluation change the status to definition (watch the attachment)...

Indeed happens only in certain cases, f.e. if you define f(x):x and you evaluate f(±y), but not in others, like f(x):3*sin(2*x)


regards,

w3b5urf3r

Edited by user 18 May 2013 01:40:38(UTC)  | Reason: Not specified

File Attachment(s):
pm_issue.gif (595kb) downloaded 46 time(s).
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 18/05/2013(UTC),  on 18/05/2013(UTC)

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

Offline Davide Carpi  
#2 Posted : 21 May 2013 20:41:29(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1340 time(s) in 879 post(s)
Don't know if this is related...

Evaluating something simbolically, the numeric optimization then doesn't work (even using the eval() function)... moreover, and indipendently from this behavior, saving a numeric calculation when I open the file again the result is shown simbolically (2nd picture) Crazy

OS: Win7 x64; SMath Studio 0.96.4884

[EDIT] tried removing user-made plugins, uninstalling and installing again, disabling the firewall, nothing changes...
[EDIT(2)] this 2nd post is solved, seems that I've switched the global "fraction" option to "Auto" and this is the cause of this issue (many thanks to Martin Friends ), however the 1st post it's not related with this...

regards,

w3b5urf3r

Edited by user 29 May 2013 16:42:50(UTC)  | Reason: Not specified

Davide Carpi attached the following image(s):
SMath Studio - [test.sm].png
SMath Studio - [test.sm]_2.png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline mkraska  
#3 Posted : 21 May 2013 23:58:48(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,990
Germany

Was thanked: 1128 time(s) in 724 post(s)
I cannot confirm the observations.
Regardless of what evaluation was assigned initially (=, Ctrl-. or the corresponding side panel buttons), i can switch the optimization without problems (which surprised me, when I tried this just now, because I remember problems switching back to numeric if symbolic opt was initially assigned)

Also, I cannot reproduce the problem with lost opt setting upon save and re-opening the file.
(Same system)

Still this is one more example, where different operators would be fine.

symbolic eval: a->b
numeric eval: a=b
"none" eval: a==b (never mind, hardly ever used)
symbolic assignment a<-b
numeric assignment a:=b
"none" assignment a:==

I know, that has been proposed frequently. Apparently there are good reasons for not doing this. One danger might be a significant drop of traffic in the forum due to less confused users.


Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 22/05/2013(UTC)
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.