Expand description
Number systems
This crate provides number systems for combinations, factorials, multinomials, and sequences of bits.
Modules§
- combinadics
- Combinatorial number system
- factoradics
- Factorial number system
- multinadics
- Multinomial number system
- sequences
- Bit sequence number system
Functions§
- combination
- Returns the number of
k
-combinations of a set ofn
elements. - factorial
- Returns the factorial of
n
. - greatest_
common_ divisor - Returns the greatest common divisor of
a
andb
. - multinomial
- Returns the number of permutations of a multiset.