Skip to content

Latest commit

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Binomial

Binomial is a ruby gem for quickly calculating probabilities that are modeled by the Binomial Theorem.
The master branch of this repo may be rather buggy at times. For a stable version, use gem install binomial or download a tagged version.

Usage

require'binomial'calc=Binomial::Calculator.newtrials: 10,probability: 0.2,target: 3# Returns the probability of 3 successes occuring during 10 trials where the # probability of a success is 0.2calc.calculate

Todo

Check the Issue Tracker for an idea of what I think needs doing. Feel free to add your own improvements! 😄

About

A ruby gem for calculating binomial probabilities

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors