| Package | Description |
|---|---|
| cern.jet.random | |
| cern.jet.random.engine |
| Modifier and Type | Field and Description |
|---|---|
protected RandomEngine |
AbstractDistribution.randomGenerator |
| Modifier and Type | Method and Description |
|---|---|
protected RandomEngine |
AbstractDistribution.getRandomGenerator()
Returns the used uniform random number generator;
|
static RandomEngine |
AbstractDistribution.makeDefaultGenerator()
Constructs and returns a new uniform random number generation engine
seeded with the current time.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractDistribution.setRandomGenerator(RandomEngine randomGenerator)
Sets the uniform random generator internally used.
|
static void |
Uniform.staticSetRandomEngine(RandomEngine randomGenerator)
Sets the uniform random number generation engine shared by all
static methods.
|
| Constructor and Description |
|---|
Uniform(double min,
double max,
RandomEngine randomGenerator)
Constructs a uniform distribution with the given minimum and maximum.
|
Uniform(RandomEngine randomGenerator)
Constructs a uniform distribution with min=0.0 and
max=1.0.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DRand
Quick medium quality uniform pseudo-random number generator.
|
class |
MersenneTwister
MersenneTwister (MT19937) is one of the strongest uniform pseudo-random number generators known so far; at the same time it is quick.
|
| Modifier and Type | Method and Description |
|---|---|
static RandomEngine |
RandomEngine.makeDefault()
Constructs and returns a new uniform random number engine seeded with the
current time.
|
Copyright © 2004–2014 CodeLutin. All rights reserved.