import sympy as S
F = S.FiniteField(101)
When I call f = S.poly(y ** 2 - x ** 3 - x - 1,F)
I get the following error:
'FiniteField' object has no attribute 'is_commutative'
But finite fields are commutative by definition! So I'm not really sure what this error is supposed to mean!
Has anyone come across this before? How do you declare polynomials over a finite field?
sympy.poly(x**2 + y - 1, x, y, domain=sympy.FF(101))
. However, this seems to fail to cooperate with other sympy functionality, such as solving equations. I have opened an issue here: github.com/sympy/sympy/issues/9821 – Actinomycin