[sage-support] Re: Polynomial Ring over a Fraction Field

2008-02-13 Thread Simon King
Dear Sage team, sorry, i have a follow up question: sage: F=FractionField(PolynomialRing(QQ,'A')) sage: R=PolynomialRing(F,'x0,x1,x2,x3') sage: x0=R.gen(0);x1=R.gen(1);x2=R.gen(2);x3=R.gen(3) sage: A=F('A') sage: I=R.ideal((-1)*x0^2 + (-1)*x1*x2 + 1, (-1)*x0*x2 + (-1)*x2*x3, (-1)*x0*x1 + (-1)*x1

[sage-support] Re: Polynomial Ring over a Fraction Field

2008-02-13 Thread Simon King
Dear John, On Feb 13, 1:17 pm, "John Cremona" <[EMAIL PROTECTED]> wrote: > I would say > F=FractionField(PolynomialRing(QQ,'A')) > A-F.gen() > and then > 1/A > F(1/A) > are all fine. My main question was how to do 1/A in a polynomial ring over F (not over F itself), but in fact your suggestion w

[sage-support] Re: Polynomial Ring over a Fraction Field

2008-02-13 Thread John Cremona
Your problem is too many quotes! You are giving strings to F(). I would say F=FractionField(PolynomialRing(QQ,'A')) A-F.gen() and then 1/A F(1/A) are all fine. John On 13/02/2008, Simon King <[EMAIL PROTECTED]> wrote: > > Dear Sage team, > > i tried the following: > sage: F=FractionField(Po