25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
104 throw new IllegalArgumentException(
"beta <= 0");
Extends the class ContinuousDistribution for the Laplace distribution (see, e.g., tjoh95b (page 165)...
double inverseF(double u)
Returns the inverse distribution function .
LaplaceGen(RandomStream s)
Creates a Laplace random variate generator with parameters and , using stream s.
double getBeta()
Returns the parameter .
static double nextDouble(RandomStream s, double mu, double beta)
Generates a new variate from the Laplace distribution with parameters  mu and  beta,...
LaplaceGen(RandomStream s, double mu, double beta)
Creates a Laplace random variate generator with parameters.
LaplaceGen(RandomStream s, LaplaceDist dist)
Creates a new generator for the Laplace distribution dist and stream s.
void setParams(double mu, double beta)
Sets the parameters and of this object.
double getMu()
Returns the 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,...