Class: RandomVariable::Poisson

Inherits:
Generic
  • Object
show all
Defined in:
lib/distros.rb

Class Method Summary collapse

Methods inherited from Generic

#initialize

Methods included from Sampleable

#outcome, #outcomes

Constructor Details

This class inherits a constructor from RandomVariable::Generic

Class Method Details

.new(mean) ⇒ Object

create a new Poisson Random Variable with a mean of mean



100
101
102
# File 'lib/distros.rb', line 100

def self.new(mean)
	intern_new(mean)
end