Bill Allombert on Tue, 1 Oct 2002 10:36:34 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: installed function ker_mod_p


On Tue, Oct 01, 2002 at 12:44:55AM +0400, Vasily Golyshev wrote:
> Looks like it won't digest integers that are too long -?
> 
> 
> 
> 
> ? install(ker_mod_p,GG)
> ? ker_mod_p(matrix(1,1,i,j,785858858588758),7)
>   ***   impossible assignment I-->S
> ? ker_mod_p(matrix(1,1,i,j,78588),7)
> %1 = [;]

The matrix must be reduced mod p before applying ker_mod_p.

Use kermod(M,p)=ker_mod_p(lift(M*Mod(1,p)),p)
instead.

Note: ker_mod_p has been renamed FpM_ker in the 2.2 serie,
and there is now a complete kit of FpM_ functions.

Cheers,
Bill.