Crate number_encoding
source · [−]Expand description
Number systems
This crate provides number systems for combinations, factorials, multinomials, and sequences of bits.
Modules
Combinatorial number system
Factorial number system
Multinomial number system
Bit sequence number system
Functions
Returns the number of k
-combinations of a set of n
elements.
Returns the factorial of n
.
Returns the greatest common divisor of a
and b
.
Returns the number of permutations of a multiset.