class Statistics::Normal

Defined in:

gsl/base/statistics.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(mean : Float64, std : Float64) #

[View source]

Class Method Detail

def self.nextGaussian(mean : Float64, std : Float64) : Float64 #

[View source]
def self.pdf(x : Float64, mean : Float64, std : Float64) : Float64 #

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

[View source]
def self.sample(mean : Float64, std : Float64) : Float64 #

[View source]

Instance Method Detail

def nextGaussian : Float64 #

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

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

[View source]
def sample : Float64 #

[View source]