class

Pyrite::Stat::Uniform

Inherits Pyrite::Stat::Distribution < Reference < Object

Constructors

new(a : Float64, b : Float64)
Source

Instance methods

mean
Source
pdf(x : Float64) : Float64

Common methods that all distributions will have

Source
sample(rng : Random = Random::DEFAULT) : Float64
Source
variance
Source