[sage-devel] Re: Substitute method for argument of derivative operator

2009-07-10 Thread Burcin Erocal
On Fri, 10 Jul 2009 10:24:18 -0300 Golam Mortuza Hossain wrote: > > Hi, > > On Fri, Jul 10, 2009 at 9:58 AM, Burcin Erocal > wrote: > > > > I'll try to spare some time for pynac this weekend, and look at the > > changes you need for the derivatives to work. > > Thanks! > > > I'm not convinc

[sage-devel] Re: Substitute method for argument of derivative operator

2009-07-10 Thread Golam Mortuza Hossain
Hi, On Fri, Jul 10, 2009 at 9:58 AM, Burcin Erocal wrote: > > I'll try to spare some time for pynac this weekend, and look at the > changes you need for the derivatives to work. Thanks! > I'm not convinced that > adding a new field to the function_options class to switch the > application of t

[sage-devel] Re: Substitute method for argument of derivative operator

2009-07-10 Thread Burcin Erocal
On Wed, 8 Jul 2009 16:09:54 -0300 Golam Mortuza Hossain wrote: > Hi Burcin, > > On Wed, Jul 8, 2009 at 11:02 AM, Burcin Erocal > wrote: > > > If you share your code creating an SFunction called 'integral', I > > can produce patches for Sage and pynac to special case that > > function when comp

[sage-devel] Re: Substitute method for argument of derivative operator

2009-07-08 Thread Golam Mortuza Hossain
Hi Burcin, On Wed, Jul 8, 2009 at 11:02 AM, Burcin Erocal wrote: > If you share your code creating an SFunction called 'integral', I can > produce patches for Sage and pynac to special case that function when > computing derivatives. (Much like what is done for Order in the pynac > code right now

[sage-devel] Re: Substitute method for argument of derivative operator

2009-07-08 Thread Golam Mortuza Hossain
Hi Burcin, On Wed, Jul 8, 2009 at 11:02 AM, Burcin Erocal wrote: >> (2)  New D derivative operator does not know how to act >> on symbolic integration ( #6465 ). So right now it is not >> possible to compute  "S.diff(epsilon)" >> >> I have spent last two days in trying to fix this. I believe >> t

[sage-devel] Re: Substitute method for argument of derivative operator

2009-07-08 Thread Burcin Erocal
On Wed, 8 Jul 2009 00:18:38 -0300 Golam Mortuza Hossain wrote: > > Hi, > > On Tue, Jul 7, 2009 at 10:29 PM, William Stein > wrote: > >> In new symbolics, if I do the same I get > >> > >> sage: g > >> D[0](f)(x) > >> sage: g.subs_expr(f(x)==f(x)+df(x)) > >> D[0](f)(x) > >> - >

[sage-devel] Re: Substitute method for argument of derivative operator

2009-07-07 Thread Golam Mortuza Hossain
Hi, On Tue, Jul 7, 2009 at 10:29 PM, William Stein wrote: >> In new symbolics, if I do the same I get >> >> sage: g >> D[0](f)(x) >> sage: g.subs_expr(f(x)==f(x)+df(x)) >> D[0](f)(x) >> - >> >> Is there a way to do this in new symbolics? It seems >> to be a road block in implemen

[sage-devel] Re: Substitute method for argument of derivative operator

2009-07-07 Thread William Stein
On Sun, Jul 5, 2009 at 3:34 AM, Golam Mortuza Hossain wrote: > > Hi all, > > It seems none of the current substitute methods for symbolic > expressions works for the argument of the derivative operator. > > In computing functional derivative, I need to vary > a functional. For example, in sage-3.4