#7007: variables() method for polynomial rings returns the constant as well as 
the
variable.
---------------------+------------------------------------------------------
 Reporter:  jason    |       Owner:  tbd       
     Type:  defect   |      Status:  new       
 Priority:  major    |   Milestone:  sage-4.1.2
Component:  algebra  |    Keywords:            
 Reviewer:           |      Author:            
   Merged:           |  
---------------------+------------------------------------------------------
Description changed by jason:

Old description:

> {{{
> [20:22] <jason-> here's something funny:
> [20:22] <jason-> sage: QQ['t'].gen()
> [20:22] <jason-> t
> [20:22] <jason-> sage: RR['t'].gen()
> [20:22] <jason-> 1.00000000000000*t
> [20:23] <jason-> what's the extra 1.0000000 in there for?
> [20:24] <jason-> that means that I get a very funny variables() function:
> [20:24] <jason-> sage: R.<t>=RR[]
> [20:24] <jason-> sage: (t^2).variables()
> [20:24] <jason-> (1.00000000000000*t,)
> }}}

New description:

 {{{
 [20:22] <jason-> here's something funny:
 [20:22] <jason-> sage: QQ['t'].gen()
 [20:22] <jason-> t
 [20:22] <jason-> sage: RR['t'].gen()
 [20:22] <jason-> 1.00000000000000*t
 [20:24] <jason-> that means that I get a very funny variables() function:
 [20:24] <jason-> sage: R.<t>=RR[]
 [20:24] <jason-> sage: (t^2).variables()
 [20:24] <jason-> (1.00000000000000*t,)
 }}}

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7007#comment:3>
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