Class: RandomVariable::Normal

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

Class Method Summary collapse

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