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