Files
2026-10-04 04:07:15 +00:00

6 lines
349 B
Plaintext

permutation provides a Permutation class for representing permutations of
finitely many positive integers in Python. Supported operations & properties
include inverses, (group theoretic) order, parity, composition/multiplication,
cycle decomposition, cycle notation, word representation, Lehmer codes, and,
of course, use as a callable on integers.