#7661: maxima interface gives precedence to function dictionary instead of local
variables
--------------------------+-------------------------------------------------
   Reporter:  burcin      |       Owner:  was     
       Type:  defect      |      Status:  new     
   Priority:  major       |   Milestone:  sage-4.3
  Component:  interfaces  |    Keywords:  maxima  
Work_issues:              |      Author:          
   Upstream:  N/A         |    Reviewer:          
     Merged:              |  
--------------------------+-------------------------------------------------
 From the sage-devel thread:

 http://groups.google.com/group/sage-devel/t/c89582242c83a349

 {{{
 On Fri, 11 Dec 2009 13:46:31 +0100
 Nathann Cohen <[email protected]> wrote:

 > sage: var('delta k')
 > sage: m1=2*delta**2 + 2**2*delta*k
 > sage: n=delta*k+2
 > sage: m2=(2*delta)**2+(k-1)*4
 > sage: m=(delta+delta*k-(delta-1))
 > sage: ((m1/n)-(m2/n)).expand().simplify()
 }}}

 On 4.3.rc0, I get this:
 {{{
 TypeError: unsupported operand parent(s) for '*': 'Symbolic Ring' and
 '<class 'sage.functions.generalized.FunctionDiracDelta'>'
 }}}

 The Maxima interface seems to give precedence to the global function
 dictionary instead of the local variables when converting Maxima output
 back to Sage expressions.
 {{{
 sage: dirac_delta(x)
 dirac_delta(x)
 sage: maxima(dirac_delta(x))
 delta(x)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7661>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.


Reply via email to