Class: RandomVariable::Normal
- Inherits:
-
Object
- Object
- RandomVariable::Normal
- Defined in:
- lib/distros.rb
Class Method Summary collapse
-
.new(mu = 0.0, sigma = 1.0) ⇒ Object
create a new Normal Random Variable with parameters
muandsigma.
Class Method Details
.new(mu = 0.0, sigma = 1.0) ⇒ Object
create a new Normal Random Variable with parameters mu and sigma
76 77 78 |
# File 'lib/distros.rb', line 76 def self.new(mu = 0.0, sigma = 1.0) intern_new(mu, sigma) end |