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)
Seedable
public long nextLong()
RandomLongGenerator
long
.nextLong
in interface RandomLongGenerator
long
public double nextDouble()
RandomNumberGenerator
double
.nextDouble
in interface RandomNumberGenerator
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.