next up previous contents index
suivant: Signature of a permutation monter: Permutations précédent: Composition of a permutation   Table des matières   Index


Product of two cycles : c1oc2

c1oc2 takes as arguments two cycles.
c1oc2 returns the permutation obtained by composition :

1stargo2ndarg

Input :
c1oc2([3,4,5],[2,0,1])
Output :
[1,2,0,4,5,3]
Warning
Composition is done using the standard mathematical notation, that is the cycle given as second argument is performed first.



Documentation of giac written by Renée De Graeve and Bernard Parisse