|
||
---|---|---|
certs | ||
lib | ||
test | ||
.gitignore | ||
binomial_distribution.gemspec | ||
CHANGELOG | ||
Gemfile | ||
Gemfile.lock | ||
Rakefile | ||
README.md | ||
version |
# A ruby implementation of the Binomial Distribution
Installation
gem install binomial_distribution
or in the Gemfile
gem 'binomial_distribution'
## Usage in Ruby
require 'binomial_distribution'
Math.binomial_distribution(tries: 1, probability: 0.4, success: 1) # => 0.4
Unitary tests
rake test
Contributes !
Find a bug ? Want a new feature ? Create a clear pull request and we'll see :)
- Nephos (poulet_a)