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


simp_ff

simp_ff(obj)
:: Converts numbers or coefficients of polynomials into elements in finite fields.
return
number or polynomial
obj
number or polynomial
[0] simp_ff((x+1)^10);
x^10+10*x^9+45*x^8+120*x^7+210*x^6+252*x^5+210*x^4+120*x^3+45*x^2+10*x+1
[1] setmod_ff(3);
3
[2] simp_ff((x+1)^10); 
1*x^10+1*x^9+1*x+1
[3] ntype(coef(@@,10));
6
[4] setmod_ff(2,3);
[2,x^3+x+1,x]
[5] simp_ff(1);
@_0
[6] simp_ff(2);
0
[7] ptosfp(2);
@_1
References
section setmod_ff, section lmptop, section gf2nton, section ptosfp, sfptop


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