opnsense-ports/math/py-permutation/pkg-descr
Franco Fichtner d9c0666d6d */*: sync with upstream
Taken from: HardenedBSD
2018-06-18 08:28:10 +02:00

7 lines
394 B
Text

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.
WWW: https://github.com/jwodder/permutation