Dear all,
  In the following code, although the
coefficient of x0 is 1+x1*x2, it returns
1.

from sage.crypto.boolean_function import BooleanFunction
R.<x0,x1,x2,x3,x4,x5>=BooleanPolynomialRing(6)

f=(1+x1*x2)*x0+x4*x5
print f.monomial_coefficient(x0)

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


Reply via email to