Module factoradics

Source
Expand description

Factorial number system

See wikipedia for more information.

Structs§

Iter
Iterates over all permutations of a slice.

Functions§

decode
Returns the permutation of the value p to the slice xs.
decode_mut
Applies the permutation of the value p to the slice xs.
encode
Returns the value of a permutation.