MATHEMATICA TUTORIAL
Polynomials Modulo Primes
Mathematica can work with polynomials whose coefficients are in the finite field
of integers modulo a prime
.
| PolynomialMod[poly,p] | reduce the coefficients in a polynomial modulo p |
| Expand[poly,Modulus->p] | expand poly modulo p |
| Factor[poly,Modulus->p] | factor poly modulo p |
| PolynomialGCD[poly1,poly2,Modulus->p] | |
| find the GCD of the | |
| GroebnerBasis[polys,vars,Modulus->p] | |
| find the Gröbner basis modulo p | |
Functions for manipulating polynomials over finite fields.
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
