> -----Original Message----- > From: Bill Allombert <bill.allomb...@math.u-bordeaux.fr> > Sent: 27 March 2018 19:20 > To: forum@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 _______________________________________________ Forum mailing list Forum@gap-system.org https://mail.gap-system.org/mailman/listinfo/forum