binomial
v0.2.0
Published
A simple binomial coefficient generator with memoization.
Downloads
2,939
Readme
binomial.js is a simple module for creating binomial coefficients. It includes memoization by default.
Usage with memoization:
var n_choose_k = binomial.get(n, k);
Usage without memoization:
var n_choose_k = binomial.get_no_memo(n, k);