[GAP Forum] GAP behaviour for large integers
Christopher Jefferson
caj21 at st-andrews.ac.uk
Tue Mar 27 19:41:00 BST 2018
> -----Original Message-----
> From: Bill Allombert <Bill.Allombert at math.u-bordeaux.fr>
> Sent: 27 March 2018 19:20
> To: forum at gap-system.org
> Subject: Re: [GAP Forum] GAP behaviour for large integers
>
> On Tue, Mar 27, 2018 at 03:35:25PM +0200, Max Horn wrote:
> > Dear Ruben,
> >
> > first a general remark: GAP represents a permutation pi internally as
> > a list, which at position i has the value for i^pi.
>
> Sorry for the tangeant, but I always wondered:
> Is there a way in GAP to recover this list directly, and convert such list back to
> a permutation ?
The functions PermList and ListPerm will turn a permutation into a list, and a list back into a permutation.
Chris
More information about the Forum
mailing list