class Statistics::HyperGeometric
- Statistics::HyperGeometric
- Statistics::DiscreteDistribution
- Reference
- Object
Defined in:
Constructors
Class Method Summary
Instance Method Summary
- #cdf(x : Int) : Float64
- #n1 : UInt32
- #n1=(n1 : UInt32)
- #n2 : UInt32
- #n2=(n2 : UInt32)
- #pdf(x : Int) : Float64
- #sample(rng : Random | Nil = nil) : Int
- #t : UInt32
- #t=(t : UInt32)
Instance methods inherited from class Statistics::DiscreteDistribution
sample(rng : Random | Nil = nil) : Intsample(n : Int32, rng : Random | Nil = nil) sample