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


setmod

setmod([p])
:: Sets the ground field to GF(p).
return
integer
n
prime less than 2^27
[0] A=dp_mod(dp_ptod(2*x,[x]),3,[]);
(2)*<<1>>
[1] A+A;
addmi : invalid modulus
return to toplevel
[1] setmod(3);
3
[2] A+A;
(1)*<<1>>
References
section dp_mod, dp_rat, section Types of numbers.


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