Class: RandomVariable::Binomial
Class Method Summary collapse
-
.new(n, p) ⇒ Object
create a new Binomial Random Variable with parameters
n
andp
.
Methods inherited from Generic
Methods included from Sampleable
Constructor Details
This class inherits a constructor from RandomVariable::Generic
Class Method Details
.new(n, p) ⇒ Object
create a new Binomial Random Variable with parameters n
and p
36 37 38 |
# File 'lib/distros.rb', line 36 def self.new(n, p) intern_new(n, p) end |