Hi,

> It's not exactly the best name, but the method you are looking for is
> nth().  The arguments are powers of the generators.
> 
> In [21]: Poly(3*x**3+2*x+12, gens=[x]).nth(3)
> Out[21]: 3
> 
> In [22]: Poly(2*3*4*x*y*exp(8) + 23*x, gens=[x,y]).nth(0, 1)
> Out[22]: 0
> 
> In [23]: Poly(2*3*4*x*y*exp(8) + 23*x, gens=[x,y]).nth(1, 0)
> Out[23]: 23


Ok, thanks. I'd have to find the powers, probably with the
monoms function after converting my monomials to true polynomials
too.

Maybe wo should change the name?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to