Class: RandomVariable::Beta

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(alpha, beta) ⇒ Object

create a new Beta Random Variable with parameters alpha and beta



28
29
30
# File 'lib/distros.rb', line 28

def self.new(alpha, beta)
	intern_new(alpha, beta)
end