Class: RandomVariable::Pareto

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

Class Method Summary collapse

Methods inherited from Generic

#initialize

Methods included from Sampleable

#outcome, #outcomes

Constructor Details

This class inherits a constructor from RandomVariable::Generic

Class Method Details

.new(a, m = 1.0) ⇒ Object

create a new Pareto Random Variable where a is the shape and m is the location



92
93
94
# File 'lib/distros.rb', line 92

def self.new(a, m = 1.0)
	intern_new(a, m)
end