SMath Studio Forum
»
SMath Studio
»
Questions
»
Problem with function definition
Rank: Member Groups: Registered
Joined: 29/01/2010(UTC) Posts: 13 Location: Portsmouth UK
|
Any ideas on what is going on here (it is to check a limit numerically for a question posted on mathhelpforum): (the limit is exp(-1/3)) CB Edited by user 13 March 2010 22:33:09(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member Groups: Registered
Joined: 29/01/2010(UTC) Posts: 13 Location: Portsmouth UK
|
Is it because the function definition is not respecting the order of evaluation implied by the brackets? CB
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
Hello. This is known problem. The only way to beat it is to use workaround with round(...) function as shown on the screenshot below: This will be fixed later. P.S.: The same type of error reported here: x^y=error.
|
|
|
|
Rank: Member Groups: Registered
Joined: 29/01/2010(UTC) Posts: 13 Location: Portsmouth UK
|
smath wrote:Hello. This is known problem. The only way to beat it is to use workaround with round(...) function as shown on the screenshot below: This will be fixed later. P.S.: The same type of error reported here: x^y=error. Thanks. I think I prefer the other work around from the other thread: since it forces the order of evaluation. CB Edited by user 14 March 2010 16:44:54(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
To fix this I've added new useful option for every Math region, calls "Optimize evaluation". It is possible now to prevent optimization of the function/variable definitions by symbolic library. Turning off the optimization can cause reducing of the evaluation performance, but it can increase it in some cases too. Also this feature can help to solve some possible issues in the future. See pictures bellow for further explanation: Figure 1: Document with evaluation error. Figure 2: Switching off control's optimization. Figure 3: Document without evaluation error. Feature will be available with the next SMath Studio release. Regards.
|
|
|
|
Rank: Member Groups: Registered
Joined: 29/01/2010(UTC) Posts: 13 Location: Portsmouth UK
|
That looks great (it will solve at least one other problem I have been having) Thanks CB Edited by user 01 April 2010 21:11:30(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello Andrey,
I hope this might fit under this topic.
There is "Explicit" function in SMath present (symbolic result only). I found this by browsing Russian side of the Forum. Moreover, this function is not present neither in the function list nor in the Dynamic assistant list. I am just courious, what would be with it. Are you intending to drop it out maybe?
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
There are several undocumented functions (see three of them on the screenshot). They are not documented because I know some major problems related to them and don't want them to be used in the real worksheets, because they can be excluded from future versions of SMath Studio. For now these functions can be used as some easter eggs of the program Regards.
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
I thought the reason might be as axplained. Thanks anyway Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Problem with function definition
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.