Thanks.
I think I got it.
On Sun, Nov 29, 2009 at 12:48 PM, Harald Schilly
wrote:
> On Nov 29, 10:50 am, Yotam Avital wrote:
> >
> > 1. def f(x): return x^2
>
> That's a pure Python function, it's in some way "universal" but you
> cannot derivate it.
>
> sage: type(f)
>
>
> >
> > 2. f(x) = x^2
On Nov 29, 10:50 am, Yotam Avital wrote:
>
> 1. def f(x): return x^2
That's a pure Python function, it's in some way "universal" but you
cannot derivate it.
sage: type(f)
>
> 2. f(x) = x^2
That's preparsed and actually this:
sage: preparse('f(x) = x^2')
'__tmp__=var("x"); f = symbolic_express