25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
46 protected double alpha = -1.0;
47 protected double lambda = -1.0;
74 setParams(dist.getAlpha(), dist.getLambda());
106 throw new IllegalArgumentException(
"lambda <= 0");
107 this.lambda = lambda;
Extends the class ContinuousDistribution for the logistic distribution (e.g., tjoh95b (page 115)).
double inverseF(double u)
Returns the inverse distribution function .
LogisticGen(RandomStream s, double alpha, double lambda)
Creates a logistic random variate generator with parameters.
double getAlpha()
Returns the parameter of this object.
void setParams(double alpha, double lambda)
Sets the parameter and of this object.
static double nextDouble(RandomStream s, double alpha, double lambda)
Generates a new variate from the logistic distribution with parameters  alpha and  lambda,...
double getLambda()
Returns the parameter of this object.
LogisticGen(RandomStream s, LogisticDist dist)
Creates a new generator for the logistic distribution dist and stream s.
LogisticGen(RandomStream s)
Creates a logistic random variate generator 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,...