Bill Allombert on Sat, 04 Sep 2004 15:51:03 +0200


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

Re: Kronecker feature request


On Sat, Sep 04, 2004 at 06:19:25AM -0700, Phil Carmody wrote:
> The following looked worth a try:
> 
> (16:13) gp > print(kronecker(Mod(8, 11)))
> 
> But alas:
> 
>   ***   expected character: ',' instead of: print(kronecker(Mod(8,11)))
>                                                                      ^--
> 
> Does it make sense to add that feature?

Why not 
print(issquare(Mod(8, 11)))
instead ?

Also note that kronecker(5,2)!=kronecker(1,2) so you cannot blindly
reduce the first term modulo the second.

Cheers,
Bill.