Permutations of finitely many positive integers
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.
$
pkg install py311-permutationOrigin
math/py-permutation
Size
91.5KiB
License
MIT
Maintainer
yuri@FreeBSD.org
Dependencies
1 packages
Required by
0 packages