Class: RandomVariable::Binomial
- Inherits:
-
Object
- Object
- RandomVariable::Binomial
- Defined in:
- lib/distros.rb
Class Method Summary collapse
-
.new(n, p) ⇒ Object
create a new Binomial Random Variable with parameters
nandp.
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 |