FUNCTION: Part2SgCC - compute a conjugacy class of the symmetric group
CALLING SEQUENCE:
- Part2SgCC(part)
- Part2SgCC(part, 'card')
- SG[Part2SgCC](part)
- SG[Part2SgCC](part, 'card')
-
PARAMETERS:
- part = any list denoting a partition
SYNOPSIS:
- The Part2SgCC function computes the list of all permutations whose cycle
type is the given partition part.
- When called with the second argument 'card', the function returns the
number of elements in the conjugacy class indexed by the partition part.
- Whenever there is a conflict between the function name Part2SgCC and
another name used in the same session, use the long form SG['Part2SgCC'].
EXAMPLES:
> with(SG):
> Part2SgCC([2,1]);
[[1, 3, 2], [2, 1, 3], [3, 2, 1]]
> Part2SgCC([5,4,3,1], 'card');
103783680
SEE ALSO: