🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

binomial

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
b

binomial

A simple binomial coefficient generator with memoization.

0.2.0
latest
71

Supply Chain Security

100

Vulnerability

66

Quality

76

Maintenance

100

License

Version published
Maintainers
1
Created
Issues
0

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);

FAQs

Package last updated on 09 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts