#5091: find_root should call fast_float
----------------------+-----------------------------------------------------
 Reporter:  robertwb  |       Owner:  burcin  
     Type:  defect    |      Status:  new     
 Priority:  major     |   Milestone:  sage-3.4
Component:  calculus  |    Keywords:          
----------------------+-----------------------------------------------------
 {{{
 sage: f(x) = sin(x)-cos(x)
 sage: g = f._fast_float_()

 sage: timeit("find_root(f, 0, pi)")
 625 loops, best of 3: 154 µs per loop

 sage: timeit("find_root(g, 0, pi)")
 625 loops, best of 3: 24 µs per loop
 }}}

 See also http://groups.google.com/group/sage-
 devel/browse_thread/thread/927319a4fa61ae3b/9fc80aa9c114e041

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5091>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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