Package | Description |
---|---|
org.apache.commons.rng.sampling.distribution |
Distribution samplers
|
Modifier and Type | Method | Description |
---|---|---|
static SharedStateDiscreteSampler |
InverseTransformDiscreteSampler.of(org.apache.commons.rng.UniformRandomProvider rng,
DiscreteInverseCumulativeProbabilityFunction function) |
Create a new inverse-transform discrete sampler.
|
Constructor | Description |
---|---|
InverseTransformDiscreteSampler(org.apache.commons.rng.UniformRandomProvider rng,
DiscreteInverseCumulativeProbabilityFunction function) |
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.