Package | Description |
---|---|
org.apache.commons.rng.sampling.distribution |
This package contains classes for sampling from statistical distributions.
|
Modifier and Type | Method and Description |
---|---|
static ZigguratSampler.Exponential |
ZigguratSampler.Exponential.of(UniformRandomProvider rng)
Create a new exponential sampler with
mean = 1 . |
static ZigguratSampler.Exponential |
ZigguratSampler.Exponential.of(UniformRandomProvider rng,
double mean)
Create a new exponential sampler with the specified
mean . |
ZigguratSampler.Exponential |
ZigguratSampler.Exponential.withUniformRandomProvider(UniformRandomProvider rng)
Create a new instance of the sampler with the same underlying state using the given
uniform random provider as the source of randomness.
|
Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.