Expand description
This crate provides tools to iteratively compute the binomial coefficient.
Structs§
- Binomial
Iter - Provides methods to calculate the binomial coefficient for the next
higher/lower
n
/k
. - DecK
Iter - An iterator which wraps a
BinomialIter
and returns the result of it’sdec_k
method whennext
is called. - DecN
Iter - An iterator which wraps a
BinomialIter
and returns the result of it’sdec_n
method whennext
is called. - IncK
Iter - An iterator which wraps a
BinomialIter
and returns the result of it’sinc_k
method whennext
is called. - IncN
Iter - An iterator which wraps a
BinomialIter
and returns the result of it’sinc_n
method whennext
is called.