| 1 | initial version |
This is probably an ugly hack, but you after reading the source code of such quotient rings, you can change the hidden _names attribute of your object as follows:
sage: R = E.coordinate_ring()
sage: R._names = ('X','Y','Z')
Then you can see:
sage: R.gens()
(X, Y, Z)
And you can let the Sage (=Python) variables X, Y, Z point to those indeterminates as follows:
sage: R.inject_variables() Defining X, Y, Z sage: X+Y^2 Y^2 + X
| 2 | No.2 Revision |
This is probably an ugly hack, but you after reading the source code of such quotient rings, you can change the hidden _names attribute of your object as follows:
sage: R = E.coordinate_ring()
sage: R._names = ('X','Y','Z')
Then you can see:
sage: R.gens()
(X, Y, Z)
And you can let the Sage (=Python) variables X, Y, Z point to those indeterminates as follows:
sage:
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.