#10550: integration not working
------------------------+---------------------------------------------------
   Reporter:  mariah    |       Owner:  burcin    
       Type:  defect    |      Status:  new       
   Priority:  minor     |   Milestone:  sage-4.6.2
  Component:  calculus  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by mhampton):

 Your timings with fast_callable seem misleading to me since you are not
 including the overhead of constructing the fast callable.  I got:

 {{{
 sage: f(x) = cos(x)^10 - exp(x*sin(cos(x)))
 sage: g = fast_callable(f, RealField(200), [x])
 sage: def gmaker(afunc):
     return fast_callable(afunc, RealField(200), [x])
 sage: timeit('f(a)')
 125 loops, best of 3: 1.46 ms per loop

 sage: timeit('g(a)')
 625 loops, best of 3: 65.2 µs per loop

 sage: timeit('gmaker(f)(a)')
 125 loops, best of 3: 1.55 ms per loop
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10550#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to