Thanks! But the question remains, how do I force the addition 1/x + 1/y to give (x+y)/(x*y) ?
Also, where do I find such a command as fraction_field? I searched the tutorial and it seems to be missing. Thus I conclude that the tutorial is not to be taken as exhaustive - reasonable but where then to look? On Aug 30, 11:06 am, Alastair Irving <alastair.irv...@sjc.ox.ac.uk> wrote: > On 30/08/11 14:59, MathLynx wrote: > > > (1) How does one define a field of rational functions in several > > variables? QQ[x,y] gives me the ring of polynomials in x& y over QQ, > > but 2*x/y is not in this ring. > > R.<x,y>=PolynomialRing(QQ) > K=R.fraction_field() > > HTH > > Alastair -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org