public class MWC8222 extends Object implements RandomLongGenerator
| Constructor and Description |
|---|
MWC8222()
Construct a random number generator to sample uniformly from [0, 1].
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Get the next random
double. |
long |
nextLong()
Get the next random
long. |
void |
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
public MWC8222()
public void seed(long... seeds)
Seedablepublic long nextLong()
RandomLongGeneratorlong.nextLong in interface RandomLongGeneratorlongpublic double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGeneratorCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.