[sage-support] Re: simple definition

2017-08-27 Thread valeriodea
Thank you Simon for the clear explanation On Sunday, August 27, 2017 at 8:32:34 AM UTC-5, Simon King wrote: > > PS: > > On 2017-08-27, Simon King wrote: > > So, what exactly is happening here? Two symbolic variables are > > created, and a symbolic function is created,

[sage-support] Re: simple definition

2017-08-27 Thread Simon King
PS: On 2017-08-27, Simon King wrote: > So, what exactly is happening here? Two symbolic variables are > created, and a symbolic function is created, whose definition > on the *result* of evaluating f(a)+sl(a)*(x-a). I omitted a word: "... whose definition *depends* on

[sage-support] Re: simple definition

2017-08-27 Thread Simon King
Hi Valerio, On 2017-08-27, valerio...@gmail.com wrote: > L(a,x)=f(a)+sl(a)*(x-a) > > L(1,x) > ValueError: power::eval(): division by zero The above syntax, as innocent as it looks, implies a lot of things, via Sage's preparser: sage: preparse("L(a,x) =