Post Reply 
Time measurement of a function
10-09-2015, 03:15 AM
Post: #4
RE: Time measurement of a function
(10-08-2015 03:45 PM)Tim Wessman Wrote:  TEVAL(function()) will give you your time in sec as well.

In CAS (only), there's a cool shortcut for timing any expression; just press
Sto, comma, Enter
after the expression that you wish to time. It looks like "►," until you press Enter. (Sto can be typed either from the Sto menu button or Shift EEX).

Example: wait(2)►, Enter
Magically turns into: time(WAIT(2))
Returns: 2 (approximately!).

Notes: The time() function is similar to the TEVAL() function, but returns the seconds without any unit appended. Although the 3-keystroke shortcut only works in CAS, the time() function works in both Home and CAS... but "time" must be spelled in lowercase.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Time measurement of a function - Powersoft - 10-08-2015, 10:46 AM
RE: Time measurement of a function - Joe Horn - 10-09-2015 03:15 AM



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