class Statistics::Gamma

Defined in:

gsl/base/statistics.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(shape : Float64, scale : Float64) #

[View source]

Class Method Detail

def self.next(shape : Float64, scale : Float64) : Float64 #

[View source]
def self.pdf(x : Float64, shape : Float64, scale : Float64) : Float64 #

[View source]
def self.sample(n : Int32, shape : Float64, scale : Float64) : Array(Float64) #

[View source]
def self.sample(shape : Float64, scale : Float64) : Float64 #

[View source]

Instance Method Detail

def next : Float64 #

[View source]
def pdf(x : Float64) : Float64 #

[View source]
def sample(n : Int32) : Array(Float64) #

[View source]
def sample : Float64 #

[View source]