next up previous contents index
suivant: Product of two cycles monter: Permutations précédent: Composition of a cycle   Table des matières   Index


Composition of a permutation and a cycle : p1oc2

p1oc2 takes as arguments a permutation and a cycle.
p1oc2 returns the permutation obtained by composition :

1stargo2ndarg

Input :
p1oc2([3,4,5,2,0,1],[2,0,1])
Output :
[4,5,3,2,0,1]
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