public class ParetoDistr extends java.lang.Object implements ContinuousDistribution
| Constructor and Description |
|---|
ParetoDistr(double shape,
double location)
Instantiates a new pareto distr.
|
ParetoDistr(java.util.Random seed,
double shape,
double location)
Instantiates a new pareto distr.
|
| Modifier and Type | Method and Description |
|---|---|
double |
sample()
Sample the random number generator.
|
public ParetoDistr(java.util.Random seed,
double shape,
double location)
seed - the seedshape - the shapelocation - the locationpublic ParetoDistr(double shape,
double location)
shape - the shapelocation - the locationpublic double sample()
ContinuousDistributionsample in interface ContinuousDistribution