Is it possible to calculate the derivative of a boolean polynomial in
Sage using PolyBoRi?

I can do this for polynomials over GF(2):

sage: R.<x,y,x> = PolynomialRing(GF(2),3)
sage: f = 3*x^2*y + 2*x*y + y + 9*x^2 + 5*x - 3
sage: f
x^2*y + x^2 + x + y + 1
sage: f.derivative(x)
1
sage: f.derivative(y)
x^2 + 1

However I cannot do the same for boolean polynomials:

sage: B.<x,y,z> = BooleanPolynomialRing(3)
sage: f = 3*x^2*y + 2*x*y + y + 9*x^2 + 5*x - 3
sage: f
x*y + y + 1
sage: f.derivative(x)
AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object
has no attribute '_derivative'
sage:

Maybe this is not implemented or maybe i am not doing sth. right?

Thanks for your help!
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to