> < ^ Date: Fri, 01 Dec 1995 15:50:40 +0100
> < ^ From: Andreas Caranti <caranti@science.unitn.it >
< ^ Subject: Re: Finite Prime Fields

Claude Quitte inquired:

In a G.A.P session, is there a way to obtain a printing of ALL the elements of
Fp (Finite Prime Field of size p) like an integer on the range 0..p-1 ? Of
course, for some variables, I can use the function IntFFE to make the
correspondance. But I want that this type of printing operates for the objects
like list, matrix of elements of a prime field and so on ...

I'm not sure whether this is what you ask for, but I suggest you have a
look at the "PrintMat" function in the smash package by Derek Holt, Charles
Leedham-Green, Eamonn O'Brien and Sarah Rees. It's in the file
in your GAP directory. Seems to me it does what you want at least for
matrices and lists of such. You can probably extend it to the generality
you need. Best,

Andreas Caranti

> < [top]