[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.1.16 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
8.9.12 dp_mod, dp_rat, 3.2 Types of numbers.



This document was generated by root on March, 5 2004 using texi2html