The code below returns a*b/a instead of b if characteristic of field is large. How can I bypass this limitation?
A=PolynomialRing(GF(2^31-1),['a','b'])
x, y = A.gens()[0], A.gens()[1]
print(x*y/x)
| 1 | initial version |
The code below returns a*b/a instead of b if characteristic of field is large. How can I bypass this limitation?
A=PolynomialRing(GF(2^31-1),['a','b'])
x, y = A.gens()[0], A.gens()[1]
print(x*y/x)
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.