perm2cycles: Decompose a permutation in a set of cycles

Description Usage Arguments Value Examples

Description

Factor a given a permutation in the set of independent cycles

Usage

1

Arguments

perm

a permutation

Value

The permutation in the input in which the operation has been applied

Examples

1
perm2cycles(c(1,5,2,3,4))

PerMallows documentation built on May 2, 2019, 6:14 a.m.