abstract class Statistics::Distributions::DiscreteDistribution(T)

Direct Known Subclasses

Defined in:

lib/distributions.cr

Instance Method Summary

Instance methods inherited from class Statistics::Distributions::Distribution(T)

rand : T rand

Instance Method Detail

abstract def pmf(x) #

The Probability Mass Function (PMF) of a discrete random variable.