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))
<something about element of the ring>
sage: type(x)
<symbolic expression>

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.  Probably this was a
design decision.  Anyway, what I really don't like is when you make

sage: a = FractionField(PolynomialRing(ZZ, 'x'))
sage: a(1/x)
<weird error that seems to imply it has not coerced x to the
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.

Thanks,
- kcrisman

-- 
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

Reply via email to