[GAP Forum] permutations and transformations

Morse, Robert rm43 at evansville.edu
Tue Jul 13 13:35:45 BST 2004




João Araújo wrote:

> Is there any way of automatically translate the permutation (1,2,3) to the
> transformation
> Transformation([2,3,1])?


Yes. Use the command AsTransformation.

gap> AsTransformation((1,2,3));                                       
Transformation( [ 2, 3, 1 ] )

See ?AsTransformation for other objects that can be represented as transformations.

Regards, Robert F. Morse





More information about the Forum mailing list