25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
46 protected double alpha;
47 protected double beta;
56 setParams(alpha, beta);
74 setParams(dist.getAlpha(), dist.getBeta());
100 protected void setParams(
double alpha,
double beta) {
102 throw new IllegalArgumentException(
"alpha <= 0");
104 throw new IllegalArgumentException(
"beta <= 0");
Extends the class ContinuousDistribution for a distribution from the Pareto family,...
double inverseF(double u)
Returns the inverse distribution function .
ParetoGen(RandomStream s, ParetoDist dist)
Creates a new generator for the Pareto distribution dist and stream s.
ParetoGen(RandomStream s, double alpha)
Creates a Pareto random variate generator with parameters.
double getAlpha()
Returns the parameter of this object.
double getBeta()
Returns the parameter of this object.
ParetoGen(RandomStream s, double alpha, double beta)
Creates a Pareto random variate generator with parameters.
static double nextDouble(RandomStream s, double alpha, double beta)
Generates a new variate from the Pareto distribution with parameters.
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...
double nextDouble()
Returns a (pseudo)random number from the uniform distribution over the interval , using this stream,...