Class: RandomVariable::Normal
Class Method Summary collapse
-
.new(mu = 0.0, sigma = 1.0) ⇒ Object
create a new Normal (aka Gaussian) Random Variable with parameters
mu
andsigma
.
Methods inherited from Generic
Methods included from Sampleable
Constructor Details
This class inherits a constructor from RandomVariable::Generic
Class Method Details
.new(mu = 0.0, sigma = 1.0) ⇒ Object
create a new Normal (aka Gaussian) Random Variable with parameters mu
and sigma
84 85 86 |
# File 'lib/distros.rb', line 84 def self.new(mu = 0.0, sigma = 1.0) intern_new(mu, sigma) end |