25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
43 protected double alpha;
44 protected double beta;
53 setParams(alpha, beta);
62 setParams(dist.getAlpha(), dist.getBeta());
87 protected void setParams(
double alpha,
double beta) {
89 throw new IllegalArgumentException(
"alpha <= 0");
91 throw new IllegalArgumentException(
"beta <= 0");
Extends the class ContinuousDistribution for the Log-Logistic distribution with shape parameter and ...
double inverseF(double u)
Returns the inverse distribution function .
double getBeta()
Returns the parameter of this object.
LoglogisticGen(RandomStream s, double alpha, double beta)
Creates a log-logistic random variate generator with parameters.
double getAlpha()
Returns the parameter of this object.
LoglogisticGen(RandomStream s, LoglogisticDist dist)
Creates a new generator for the distribution dist, using stream s.
static double nextDouble(RandomStream s, double alpha, double beta)
Generates a variate from the log-logistic distribution with shape parameter and scale parameter .
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,...