public class NestedDistribution extends ContinuousDistribution
Modifier and Type | Field and Description |
---|---|
ContinuousDistribution |
innerDist |
DiscreteDistribution |
outerDist |
rng
Constructor and Description |
---|
NestedDistribution(ContinuousDistribution innerDist,
DiscreteDistribution outerDist) |
Modifier and Type | Method and Description |
---|---|
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final ContinuousDistribution innerDist
public final DiscreteDistribution outerDist
public NestedDistribution(ContinuousDistribution innerDist, DiscreteDistribution outerDist)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution