Ok for some reason I did not get it to work before:

    p.nth(0,0)





El miércoles, 29 de enero de 2014 10:08:34 UTC+1, Roderick de Nijs escribió:
>
> I am having the following little anoying issue:
> Imagine i have:
>
> from sympy import var
> var('x y z t')
> p=Poly(x*y + x*z + z*t,gens=[x,y])
>
> now i can use p.coef_monomial to extract coefficients for x, y or x*y but 
> how do I get the "constant" part z*t?
>
> Any straightforward way to do this?
>
> Thanks!
>
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to