25package umontreal.ssj.randvar;
27import umontreal.ssj.rng.*;
28import umontreal.ssj.probdist.*;
98 protected double sigma = -1.0;
124 setParams(dist.getMu(), dist.getSigma());
155 throw new IllegalArgumentException(
"sigma <= 0");
Extends the class ContinuousDistribution for the normal distribution (e.g., tjoh95a (page 80)).
double inverseF(double u)
Returns the inverse distribution function .
double getSigma()
Returns the parameter of this object.
double getMu()
Returns the parameter of this object.
void setParams(double mu, double sigma)
Sets the parameters and of this object.
static double nextDouble(RandomStream s, double mu, double sigma)
Generates a variate from the normal distribution with parameters.
NormalGen(RandomStream s)
Creates a standard normal random variate generator with mean 0 and standard deviation 1,...
NormalGen(RandomStream s, double mu, double sigma)
Creates a normal random variate generator with mean mu and standard deviation sigma,...
NormalGen(RandomStream s, NormalDist dist)
Creates a random variate generator for the normal 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,...