Crate number_encoding[][src]

Expand description

Number systems

This crate provides number systems for combinations, factorials, and sequences of bits.


Combinatorial number system

Factorial number system

Bit sequence number system


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.