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: