public class TransformedDistribution extends ContinuousDistribution
Modifier and Type | Field and Description |
---|---|
ContinuousDistribution |
baseDist |
double |
factor |
double |
offset |
rng
Constructor and Description |
---|
TransformedDistribution(ContinuousDistribution baseDist) |
TransformedDistribution(ContinuousDistribution baseDist,
double offset) |
TransformedDistribution(ContinuousDistribution baseDist,
double offset,
double factor) |
Modifier and Type | Method and Description |
---|---|
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final ContinuousDistribution baseDist
public final double offset
public final double factor
public TransformedDistribution(ContinuousDistribution baseDist, double offset, double factor)
public TransformedDistribution(ContinuousDistribution baseDist, double offset)
public TransformedDistribution(ContinuousDistribution baseDist)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution