Dear Tim,

On Nov 24, 8:41 pm, "Tim Lahey" <[EMAIL PROTECTED]> wrote:
> var('x')
> f = 2*x/sin(x)^2
> f.integrate(x)
> axiom.integrate(f,x)
> timeit(f.integrate(x))
> timeit(axiom.integrate(f,x))

AFAIK, unlike "time", which is prefixed to an actual command, "timeit"
is a function that expects a string as an argument.

Hence, it should be
 sage: timeit('f.integrate(x)')
 5 loops, best of 3: 58 ms per loop

and correspondingly
 sage: timeit('axiom.integrate(f,x)')

Cheers
       Simon

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to