public class SHR0 extends Object implements RandomLongGenerator
| Constructor and Description |
|---|
SHR0() |
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Get the next random
double. |
int |
nextInt() |
long |
nextLong()
Get the next random
long. |
void |
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
public void seed(long... seeds)
Seedablepublic long nextLong()
RandomLongGeneratorlong.nextLong in interface RandomLongGeneratorlongpublic double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGeneratorpublic int nextInt()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.