Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

laurent series

Is the number of terms of a Laurent series fixed? E.g.

P.<t> = LaurentSeriesRing(QQ)
1/P([1 for t in range(100)])

yields

1 - t + O(t^20)

and not

1 - t + O(t^100)

as expected. There seems to be no simple way of setting the "precision" of the series. Or is there ... ?