Re: [sage-support] Question about polynomial rings and their fraction fields

2010-09-25 Thread Burcin Erocal
On Fri, 24 Sep 2010 18:56:14 -0700 (PDT) kcrisman wrote: > sage: a = FractionField(PolynomialRing(ZZ, 'x')) > sage: a(1/x) > polynomial ring> > > Did I do something wrong, or is this a bug? Because of the initial > behavior, maybe I shouldn't expect to be able to do this. This is #7741: http

Re: [sage-support] Question about polynomial rings and their fraction fields

2010-09-25 Thread Robert Bradshaw
On Fri, Sep 24, 2010 at 6:56 PM, kcrisman wrote: > If I make a polynomial ring using > > sage: b = PolynomialRing(ZZ, 'x') > > I get some odd behavior.  Namely, > > sage: bool(b(x)==x) > True > sage: b(x) > x > sage: type(b(x)) > > sage: type(x) > > > This isn't really that odd, but still I don'

[sage-support] Question about polynomial rings and their fraction fields

2010-09-24 Thread kcrisman
If I make a polynomial ring using sage: b = PolynomialRing(ZZ, 'x') I get some odd behavior. Namely, sage: bool(b(x)==x) True sage: b(x) x sage: type(b(x)) sage: type(x) This isn't really that odd, but still I don't know whether it is good that one can still use x as a symbolic variable. Pr