Problem with function definition

Problem with function definition - Messages

#1 Posted: 3/13/2010 4:27:18 PM
captainblack

captainblack

0 likes in 13 posts.

Group: User

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
#2 Posted: 3/13/2010 4:40:30 PM
captainblack

captainblack

0 likes in 13 posts.

Group: User

Is it because the function definition is not respecting the order of evaluation implied by the brackets?



CB
#3 Posted: 3/14/2010 2:17:03 AM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

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.
#4 Posted: 3/14/2010 10:42:17 AM
captainblack

captainblack

0 likes in 13 posts.

Group: User

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
#5 Posted: 3/31/2010 11:26:44 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

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.
#6 Posted: 4/1/2010 2:09:51 PM
captainblack

captainblack

0 likes in 13 posts.

Group: User

That looks great (it will solve at least one other problem I have been having)

Thanks

CB
#7 Posted: 4/10/2010 6:01:14 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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!"
#8 Posted: 4/10/2010 8:32:37 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

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.
#9 Posted: 4/10/2010 9:23:11 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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!"
  • New Posts New Posts
  • No New Posts No New Posts