abstract class Statistics::DiscreteDistribution

Direct Known Subclasses

Defined in:

gsl/maths/statistics/distributions.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.sample(n : Int32, *args) #

[View source]

Instance Method Detail

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

[View source]
def sample(n : Int32, rng : Random | Nil = nil) #

[View source]