numRecipes
public class RandomGenerator extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
alogMu |
static double |
expMu |
static double |
GammaFactor |
static double |
muOld |
static double |
sqMu |
Constructor and Description |
---|
RandomGenerator()
default constructor : using the current time as a seed.
|
RandomGenerator(long seed)
constructor with a given seed.
|
Modifier and Type | Method and Description |
---|---|
double |
GetGaussianDouble(double mu,
double sigma) |
long |
GetPoissonian(double mu) |
double |
GetRandomDouble() |
public static double muOld
public static double expMu
public static double alogMu
public static double sqMu
public static double GammaFactor