class Statistics::Gamma
- Statistics::Gamma
- Statistics::ContinuousDistribution
- Reference
- Object
Defined in:
gsl/maths/statistics/distributions.crConstructors
Class Method Summary
Instance Method Summary
- #cdf(x : Float64) : Float64
- #pdf(x : Float64) : Float64
- #sample(rng : Random | Nil = nil) : Float64
- #scale : Float64
- #scale=(scale : Float64)
- #shape : Float64
- #shape=(shape : Float64)
Instance methods inherited from class Statistics::ContinuousDistribution
sample(rng : Random | Nil = nil) : Float64sample(n : Int32, rng : Random | Nil = nil) : Array(Float64) sample
Class methods inherited from class Statistics::ContinuousDistribution
sample(n : Int32, *args) : Array(Float64)
sample
Constructor Detail
Class Method Detail
def self.sample(shape : Float64, scale : Float64, rng : Random | Nil = nil) : Float64
#