public class NormalKindermannRamageGen extends NormalGen
| Constructor and Description |
|---|
NormalKindermannRamageGen(RandomStream s)
Creates a standard normal random variate generator with mean
0 and standard deviation 1, using stream s.
|
NormalKindermannRamageGen(RandomStream s,
double mu,
double sigma)
Creates a normal random variate generator with mean mu
and standard deviation sigma, using stream s.
|
NormalKindermannRamageGen(RandomStream s,
NormalDist dist)
Creates a random variate generator for the normal distribution
dist and stream s.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Generates a random number from the continuous distribution
contained in this object.
|
static double |
nextDouble(RandomStream s,
double mu,
double sigma) |
getDistribution, getStream, nextArrayOfDouble, setStreampublic NormalKindermannRamageGen(RandomStream s, double mu, double sigma)
public NormalKindermannRamageGen(RandomStream s)
public NormalKindermannRamageGen(RandomStream s, NormalDist dist)
public double nextDouble()
RandomVariateGeninverseF
method of the distribution object.
Alternative generating methods are provided in subclasses.nextDouble in class RandomVariateGenpublic static double nextDouble(RandomStream s, double mu, double sigma)
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.