#10968: Precedence issues with mathematica functions
--------------------------+-------------------------------------------------
   Reporter:  flawrence   |       Owner:  was     
       Type:  defect      |      Status:  new     
   Priority:  major       |   Milestone:  sage-4.7
  Component:  interfaces  |    Keywords:          
     Author:              |    Upstream:  N/A     
   Reviewer:              |      Merged:          
Work_issues:              |  
--------------------------+-------------------------------------------------
 Pre #9032:
 {{{
 sage: mathematica(pi/2).N(50)
 1.5707963267948966192313216916397514420985846996876
 }}}

 Post #9032:
 {{{
 sage: mathematica(pi/2).N(50)
 1.5707963267949
 }}}

 The `N[]` function from mathematica is being overwritten by
 `numerical_approx`.  There seems to be no other way to call `N[]` on an
 existing mathematica object, so this is a problem.

 One way to solve this would be to make mathematica functions take
 precedence over all or most Sage methods.  To call a Sage method one
 would/should/could use `.sage().whichever_method()`

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10968>
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