blob: b37bb803386b9e59cc372b6f4c063268032673e3 (
plain) (
blame)
1
2
3
4
5
|
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.
|