On Fri, Jun 5, 2009 at 1:51 PM, Golam Mortuza
Hossain<[email protected]> wrote:
>
> Hi Mike,
>
> On Fri, Jun 5, 2009 at 4:45 PM, Mike Hansen<[email protected]> wrote:
>>
>>> D[0](f) seems strange when there is only one argument.
>>
>> f could be a function of many variables.
>>
>>> I still hate the notation. It's also fairly non-standard notation. At
>>> least in Maple, it's mostly optional. Some functions require it, but
>>> there is a function to convert to and from that notation when necessary.
>>
>> I don't think it'd be a whole lot of work to make GiNaC be able to use
>> both notions.
>
> IMO, it is alright if GiNaC uses this particular format for internal 
> processing.
> However, printing the output (either the raw or the typeset version) in the 
> new
> format ("D[0](f)") is at best confusing.

It's not just a matter of how things are printed.  For example, consider

sage: f = function('f')
sage: f(x^2).diff(x)
2*x*D[0](f)(x^2)

where GiNaC automatically applies the chain rule as opposed to something like

diff(f(x^2), x).

--Mike

--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to