On Sep 9, 2008, at 7:50 PM, Nick Alexander wrote:

>
> {{{
> sage: ZZ['x'].0.reverse()
> 1
> sage: ZZ['x'].0.reverse().reverse()
> 1
> }}}
>
> I think that reverse is it's own inverse.  Does anyone else agree?
> (The issue is probably just reversing the coefficient list and not
> considering degrees.)  Thanks for opening tickets mabshoff.

I think the above is correct--reverse creates a polynomial of lower  
degree if the constant coefficient is zero.

- Robert


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
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