Hi,

See this:

sage: R.<t>=PowerSeriesRing(QQ)
sage: P.<x>=PolynomialRing(R)
sage: f=(x*t+t^2)/t
sage: f
x + t
sage: P(f)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call
last)
...
TypeError: Unable to coerce t (<type
'sage.rings.laurent_series_ring_element.LaurentSeries'>) to Rational
sage: f.parent()
Univariate Polynomial Ring in x over Laurent Series Ring in t over
Rational Field

What is a convenient way to coerce f into P?


Kwankyu
--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to