polynomial calculations over Z/Zp (for prime p)?
12-24-2013, 04:09 AM
Post: #2 Han Senior Member Posts: 1,883 Joined: Dec 2013
RE: polynomial calculations over Z/Zp (for prime p)?
You have several ways of implementing $$\mathbb{Z}/\mathbb{Z}_p[x]$$. You can use vectors (of coefficients), actual symbolic expressions, or the "poly" type:
Code:
 p:=3; // examples below p1:=[ 12 13 -20 5 ] % p; p2:=(12x^3 + 13x^2 - 20x + 5) % p; p3:=poly[ 12 13 -20 5 ] % p;

Graph 3D | QPI | SolveSys
 « Next Oldest | Next Newest »

 Messages In This Thread polynomial calculations over Z/Zp (for prime p)? - Jeff Nye - 12-24-2013, 04:00 AM RE: polynomial calculations over Z/Zp (for prime p)? - Han - 12-24-2013 04:09 AM RE: polynomial calculations over Z/Zp (for prime p)? - Jeff Nye - 12-24-2013, 11:56 AM RE: polynomial calculations over Z/Zp (for prime p)? - Han - 12-24-2013, 03:49 PM RE: polynomial calculations over Z/Zp (for prime p)? - Alberto Candel - 12-24-2013, 07:04 AM RE: polynomial calculations over Z/Zp (for prime p)? - Alberto Candel - 12-24-2013, 03:39 PM RE: polynomial calculations over Z/Zp (for prime p)? - Alberto Candel - 12-24-2013, 04:10 PM RE: polynomial calculations over Z/Zp (for prime p)? - parisse - 12-25-2013, 07:55 AM

User(s) browsing this thread: 1 Guest(s)