mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
8 lines
394 B
Plaintext
8 lines
394 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.
|
|
|
|
WWW: https://github.com/jwodder/permutation
|