Class: RandomVariable::ChiSquared

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(k) ⇒ Object

create a Chi-Squared Random Variable with k degrees of freedom



44
45
46
# File 'lib/distros.rb', line 44

def self.new(k)
	intern_new(k)
end