>From the notebook's "report a problem" bugtracker:

The conversion of a sage expression to maxima depends of the argument
order of previous defined functions. For example:

var('x y t')
L=function('L', t, x, y)
m1=maxima(diff(L,t))
L=function('L', x, y, t)
m2=maxima(diff(L,t))
m2 delivers the wrong expression!
----------
var('x y t')
L=function('L', t, x, y)
m1=maxima(diff(L,t))
L=function('L', x, y, t)
m2=maxima(diff(L,t))
print m1
print m2

expect result m1 in all cases, no matter of the argument order!!!

May be it is essential to solve this issue due to the fact that sage
uses maxima to solve differential equations. In this case changing the
operator sequence within L should not change the result.

Note from me: This applies to 4.1 and I can confirm it in 4.1.1

----------------------------------------------------------------------
| Sage Version 4.1.1, Release Date: 2009-08-14                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: var('x y t')
(x, y, t)
sage: L=function('L', t, x, y)
sage: m1=maxima(diff(L,t))
sage:
sage: L=function('L', x, y, t)
sage: m2=maxima(diff(L,t))
sage:
sage: print m1
                                d
                                -- (L(t, x, y))
                                dt
sage: print m2
                                d
                                -- (L(t, x, y))
                                dy



H

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to