25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
43 protected double lambda;
86 throw new IllegalArgumentException(
"lambda <= 0");
Extends the class ContinuousDistribution for the exponential distribution tjoh95a (page 494) with me...
double inverseF(double u)
Returns the inverse distribution function .
double getLambda()
Returns the associated with this object.
ExponentialGen(RandomStream s, double lambda)
Creates an exponential random variate generator with parameter.
void setParams(double lam)
Sets the parameter lam of this object.
static double nextDouble(RandomStream s, double lambda)
Uses inversion to generate a new exponential variate with parameter.
ExponentialGen(RandomStream s, ExponentialDist dist)
Creates a new generator for the exponential distribution dist and stream s.
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,...