public
Description: A Ruby library for using the Poission distribution
Homepage:
Clone URL: git://github.com/jonleighton/poisson.git
name age message
file .gitignore Sat Sep 06 11:12:55 -0700 2008 Ignore doc dir [jonleighton]
file CHANGELOG Sat Nov 25 09:47:55 -0800 2006 Gem task [jonleighton]
file LICENCE Fri Nov 24 12:04:42 -0800 2006 Documentation [jonleighton]
file README Sat Sep 06 11:14:25 -0700 2008 That doesn't work so well, let's see how git ha... [jonleighton]
file README.rdoc Loading commit data...
file Rakefile Sat Sep 06 11:14:25 -0700 2008 That doesn't work so well, let's see how git ha... [jonleighton]
directory lib/
directory spec/
README.rdoc

Poisson Distribution Ruby Class

Poisson is a Ruby class for the Poisson Distribution. Here is a very simple use example:

  require 'poisson'
  poisson = Poisson.new(6)
  poisson.probability { |x| x == 4 } # => 0.133...

Please see the API documentation for more detail.

Install

You know the routine:

  gem install poisson

Author

Poisson was written by Jonathan Leighton <j at jonathanleighton dot com> of jonathanleighton.com/.

Licence

Poisson is licensed under the GPL. See the LICENCE file. You can find the code at github.com/jonleighton/poisson/.