Tim Lahey wrote: > > On Nov 25, 2008, at 12:33 AM, Jason Grout wrote: >> sage: import sympy >> sage: var('x,a,b') >> (x, a, b) >> sage: f1=1/(a*x+b) >> sage: sympy.integrate(sympy.sympify(f1),sympy.sympify(x)) >> 1/a*log(b + a*x) >> sage: sympy_integrate = lambda f,x: sympy.integrate(sympy.sympify(f), >> sympy.sympify(x)) >> sage: sympy_integrate(f1,x) >> 1/a*log(b + a*x) >> > > Good to know. But, in order to get proper timings, I need to > skip the sympify inside the integrate.
I suppose you could separately run timeit on the sympy.sympify calls, then subtract that from the integration, if you wanted to work that way. But it sounds like you already have a way worked out. Thanks for working on this! -Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@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-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---