On Sun, May 15, 2011 at 1:43 PM, Eddie Tsay <
jian...@gmail.com> wrote:
> Hello Professor Stein,
> I just had a couple questions regarding the midterm:
> 1) About timing our function. You mentioned in class that using timeit
> probably wasn't the way to go. Do you remember what it was you said in class
> regarding this issue? Specifically, I'm wondering if you mentioned anything
> about why we shouldn't use timeit and also if you mentioned another timing
> function we should use instead.
Using the cputime function. Or do
sage: time call_your_function()
> 2) For number 4, do we need to be connecting the points to one another to
> form a staircase?
That's up to you. Either way is fine by me.
William
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org