On Wed, Mar 14, 2012 at 12:08 AM, Laurent wrote:
> My question in the following : is it normal that the second one is *much*
> slower than the first one ?
The reason why the second one is much faster is Sage has something
called "fast_callable" which can optimize the evaluation of the
function ov
Hi all
I've (at least) two ways of plotting a function.
The first one is the classic :
f=(x**2).function(x)
Q=plot(f,x,-1,1)
I've an other one :
==
class CallFunction(object):
def __init__(self,f):
self.f=f
def __call__(self,x):
return