| 1 | initial version |
In this case, you can try with
sage: K.<x> = FunctionField(SR)
or
K = FractionField(PolynomialRing(SR, 'x'))
| 2 | No.2 Revision |
In this case, you can try with
sage: K.<x> = FunctionField(SR)
or
K = FractionField(PolynomialRing(SR, 'x'))
I am not sure how big are your rational functions, but if i do:
sage: f = sum(K.random_element() for i in range(100))
sage: f.numerator()
...
sage: f.denominator()
....
and this is almost instantaneous.
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.