PermutationLength
The number of points moves.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
PermutationLength✓PermutationLength(p)The number of points moves.Typed signatures
| Type | Package | Applies |
|---|---|---|
(permutation) -> number | combinatorics | always |
Details
- Defined over
Permutationas an expression in_x, evaluated by compute-engine — the definition IS the implementation. - Wolfram's
Cyclesinput is not read here: wrap a one-line word inPermutation, or turnCyclesinto one with PermutationList first - The identity moves nothing, so its length is 0; a -cycle has length (fixed points do not count)
- Takes a
Permutationand nothing else — it reads values against their positions, or walks the orbits, so it needs the bijection. Applying it to a bare list is a type error, not a wrong answer.
Examples
Basic #
Scope #
About
| Examples | 6 |
|---|---|
| Checked against | Wolfram Language 6 agree |
| Crosswalk | Wolfram Language |