Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

coefficients of power series with Laurent series coefficients

I want to be able to pick out the different monomials in a power series ring with coefficient ring Laurent series in another variable (or more). For example:

Q. = LaurentSeriesRing(QQ) S.<x> = LaurentSeriesRing(Q) SS. = PowerSeriesRing(S)

U = 1 + 2X^3s^4 + 5q^6X^7*s^8

What's the best way to extract the different monomials together with their coefficients?

coefficients of power series with Laurent series coefficients

I want to be able to pick out the different monomials in a power series ring with coefficient ring Laurent series in another variable (or more). For example:

Q.

Q.<q> = LaurentSeriesRing(QQ)
S.<x> S.<X> = LaurentSeriesRing(Q)
SS. SS.<s> = PowerSeriesRing(S)

PowerSeriesRing(S)

U = 1 + 2X^3s^4 2*X^3*s^4 + 5q^6X^7*s^8

5*q^6*X^7*s^8

What's the best way to extract the different monomials together with their coefficients?