public class SHR3 extends Object implements RandomLongGenerator
Constructor and Description |
---|
SHR3() |
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)
Seedable
public long nextLong()
RandomLongGenerator
long
.nextLong
in interface RandomLongGenerator
long
public double nextDouble()
RandomNumberGenerator
double
.nextDouble
in interface RandomNumberGenerator
public int nextInt()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.