class Statistics::Beta

Defined in:

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Statistics::ContinuousDistribution

sample(rng : Random | Nil = nil) : Float64
sample(n : Int32, rng : Random | Nil = nil) : Array(Float64)
sample

Class methods inherited from class Statistics::ContinuousDistribution

sample(n : Int32, *args) : Array(Float64) sample

Constructor Detail

def self.new(a : Float64, b : Float64) #

Class Method Detail

def self.sample(a : Float64, b : Float64, rng : Random | Nil = nil) : Float64 #

Instance Method Detail

def a : Float64 #

def a=(a : Float64) #

def b : Float64 #

def b=(b : Float64) #

def cdf(x : Float64) : Float64 #

def pdf(x : Float64) : Float64 #

def sample(rng : Random | Nil = nil) : Float64 #