Post Reply 
[Request] for renaming variables
05-30-2014, 12:05 PM (This post was last modified: 05-30-2014 12:06 PM by Tugdual.)
Post: #14
RE: [Request] for renaming variables
(05-30-2014 07:08 AM)cyrille de brébisson Wrote:  >There is a major drawback with this solution: speed. f(x):=sin(x) then F1:=f(X) and F2:=2*sin(X) and you'll see how dramatically faster F2 is compared to F1.

Yep, it is because F1 will be f(x) and not sin(X). As a result, EVERY call to evaluate F1 will be a call to the CAS instead of a numerical call and there is a high cost to call the CAS from the numerical world (which is where the function app resides)...
Hi, understood but then the fun of exploration with touch screen is totally gone considering the time it takes to refresh. I see two options:
1. Improve the redraw algorithm to iterate redraw from rough to detailed (a bit like jpeg) so that we can have a preview and immediately zoom or scroll the drawing, possibly interrupting the ongoing refine process.
2. Implement a copy paste with renaming of x -> X to leverage the native numericall features.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[Request] for renaming variables - Tugdual - 05-28-2014, 08:58 PM
RE: [Request] for renaming variables - Tugdual - 05-30-2014 12:05 PM



User(s) browsing this thread: 1 Guest(s)