On Sat, Jul 18, 2009 at 7:20 AM, Simon King<[email protected]> wrote:
>
> Hi!
>
> On 18 Jul., 05:14, Alex Ghitza <[email protected]> wrote:
> ...
>> I'd like the second example to look more like the first and it's
>> pretty easy to make that happen.  However, this means:
>>
>> {{{
>> sage: x
>> 1.00000000000000*x
>> sage: y
>> 1.00000000000000*y
>> sage: (x^2 - y).variables()
>> [1.00000000000000*x, 1.00000000000000*y]
>>

Please do not make the above change.  It would be very inconsistent
with what happens for symbolic variables:

sage: var('x,y,z,w')
sage: f = 1.0*x^2 - 1.0*y
sage: f.variables()
(x, y)

Definitely do not change variables to return things that aren't variables.

 -- William

--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to