On 11/3/07, Nick Alexander <[EMAIL PROTECTED]> wrote:
> Also, is there a way to return a
> new ring just like the old one but with different names?

Yes, that should work like this (and currently does):

sage: K.<a> = NumberField(x^2 + 1)
sage: K.change_names('b')
Number Field in b with defining polynomial x^2 + 1

Though the function name isn't systematic!

sage: R.<x> = QQ[]
sage: R.change_var('b')
Univariate Polynomial Ring in b over Rational Field

And for multivariate polynomials there's nothing.

This would be a good trac ticket.

I think using "change_names" is best, since it's the same
as in Magma.

William

--~--~---------~--~----~------------~-------~--~----~
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to