#6854: Something weird in the implementation of InfinitePolynomialRing
-----------------------+----------------------------------------------------
 Reporter:  ncohen     |       Owner:            
     Type:  defect     |      Status:  new       
 Priority:  major      |   Milestone:  sage-4.1.2
Component:  symbolics  |    Keywords:            
 Reviewer:             |      Author:            
   Merged:             |  
-----------------------+----------------------------------------------------
 Hello !!

 I know nothing about Symbolics in Sage, but I will be using
 InfinitePolynomialRing and I think the following code can be considered a
 bug. I create an expression using an element from InfinitePolynomialRing,
 on which I use "Tab" to list its methods, some of them not being printed.
 Example :

 {{{
 sage: P.<x>=InfinitePolynomialRing(RR)
 sage: e=x[1]+x[3]
 sage: e.
 e.abs                           e.footprint
 e.multiplicative_order          e.save
 e.additive_order                e.is_nilpotent                  e.n
 e.squeezed
 e.base_extend                   e.is_one                        e.order
 e.stretch
 e.base_ring                     e.is_unit                       e.parent
 e.subs
 e.category                      e.is_zero
 e.polynomial                    e.substitute
 e.coefficient                   e.lc                            e.reduce
 e.symmetric_cancellation_order
 e.db                            e.lm                            e.rename
 e.tail
 e.dump                          e.lt
 e.reset_name                    e.variables
 e.dumps                         e.max_index                     e.ring
 e.version
 sage: e.constant_coefficient()
 0.000000000000000
 }}}

 Besides, I do not understand why ( and I would really need it the other
 way ) inequalities on such expression return binaries instead of being
 kept symbolic :

 {{{
 sage: e<3
 False
 }}}

 But this may be intentional, even though I do not like it :-)

 Nathann

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