#6111: [with patch; needs review] review symbolics in sage-4.0 (switch to pynac)
----------------------+-----------------------------------------------------
 Reporter:  was       |       Owner:  burcin  
     Type:  defect    |      Status:  new     
 Priority:  blocker   |   Milestone:  sage-4.0
Component:  calculus  |    Keywords:          
----------------------+-----------------------------------------------------

Comment(by robertwb):

 Finished reading expression.pyx, it looks good. Should this work:

 {{{
 sage: ((x+y)^9).polynomial(None, ring=ZZ['x']['y']).list()
 ------------------------------------------------------------
 Traceback (most recent call last):
   File "<ipython console>", line 1, in <module>
   File "expression.pyx", line 3616, in
 sage.symbolic.expression.Expression.polynomial
 (sage/symbolic/expression.cpp:17320)
   File "/home/robertwb/sage-4.0.rc0-x86_64-Linux/local/lib/python2.5/site-
 packages/sage/symbolic/expression_conversions.py", line 975, in polynomial
     converter = PolynomialConverter(ex, base_ring=base_ring, ring=ring)
   File "/home/robertwb/sage-4.0.rc0-x86_64-Linux/local/lib/python2.5/site-
 packages/sage/symbolic/expression_conversions.py", line 833, in __init__
     raise TypeError, "%s is not a variable of %s" %(v, ring)
 TypeError: y is not a variable of Univariate Polynomial Ring in y over
 Univariate Polynomial Ring in x over Integer Ring
 }}}

 Also, there are a lot (too many IMHO) aliases for simplify_radical

 {{{
     radical_simplify = simplify_log = log_simplify = simplify_radical
     simplify_exp = exp_simplify = simplify_radical
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6111#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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