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
BinomialIterand returns the result of it’sdec_kmethod whennextis called. - DecN
Iter - An iterator which wraps a
BinomialIterand returns the result of it’sdec_nmethod whennextis called. - IncK
Iter - An iterator which wraps a
BinomialIterand returns the result of it’sinc_kmethod whennextis called. - IncN
Iter - An iterator which wraps a
BinomialIterand returns the result of it’sinc_nmethod whennextis called.