> allcyc(4)
[1] (1234) (1243) (1342) (1324) (1423) (1432)
[coerced from word form]
> allcyc(4) ^ as.cycle(c(1,8))
[1] (2348) (2438) (2834) (2483) (2384) (2843)
[coerced from word form]
>
Above, the second line takes all cycles of length 4 but switches the 4 for 8. Pretty neat. We are exploiting the fact that conjugation does not change the shape of a permutation.
Been pondering issue #37 and came up with this:
Above, the second line takes all cycles of length 4 but switches the 4 for 8. Pretty neat. We are exploiting the fact that conjugation does not change the shape of a permutation.