Post Reply 
polynomial calculations over Z/Zp (for prime p)?
12-24-2013, 04:09 AM
Post: #2
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: polynomial calculations over Z/Zp (for prime p)? - Han - 12-24-2013 04:09 AM



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