class

Pyrite::Stat::Exponential

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

Constructors

new(lambda : Float64)
Source

Instance methods

lambda
Source
lambda=(lambda : Float64)
Source
mean
Source
pdf(x : Float64) : Float64

Common methods that all distributions will have

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