Go to the first, previous, next, last section, table of contents.


setmod_ff

setmod_ff([p|defpoly2])
setmod_ff([defpolyp,p])
setmod_ff([p,n])
:: Sets/Gets the current base fields.
return
number or polynomial
p
prime
defpoly2
univariate polynomial irreducible over GF(2)
defpolyp
univariate polynomial irreducible over GF(p)
n
the extension degree
[174] defpoly_mod2(100);
x^100+x^15+1
[175] setmod_ff(@@);
x^100+x^15+1
[176] setmod_ff();
x^100+x^15+1
[177] setmod_ff(x^4+x+1,547);
[1*x^4+1*x+1,547]
[178] setmod_ff(2,5);
[2,x^5+x^2+1,x]
References
section defpoly_mod2


Go to the first, previous, next, last section, table of contents.