class Stats::NormaleDistribution::Persistant(D, E)

Defined in:

lib/normale_distribution/persistant.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(standard_deviation : D = 1.0, esperance : E = 0.0) #

Create a new normale distribution


[View source]

Instance Method Detail

def between(min : Number, max : Number) #

Gives the probability of [ min; max ]


[View source]
def esperance : E #

[View source]
def esperance=(esperance : E) #

[View source]
def greater_than(min : Number) #

Gives the probability of [ min; +inf [


[View source]
def less_than(max : Number) #

Gives the probability of ] -inf; max ]


[View source]
def standard_deviation : D #

[View source]
def standard_deviation=(standard_deviation : D) #

[View source]