Class ConcurrentStandardNormalRNG
- java.lang.Object
-
- dev.nm.stat.random.rng.univariate.normal.ConcurrentStandardNormalRNG
-
- All Implemented Interfaces:
RandomStandardNormalGenerator
,RandomNumberGenerator
,Seedable
public class ConcurrentStandardNormalRNG extends Object implements RandomStandardNormalGenerator
-
-
Constructor Summary
Constructors Constructor Description ConcurrentStandardNormalRNG()
ConcurrentStandardNormalRNG(RandomStandardNormalGenerator rnorm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
nextDouble()
Get the next randomdouble
.void
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
-
-
-
Constructor Detail
-
ConcurrentStandardNormalRNG
public ConcurrentStandardNormalRNG(RandomStandardNormalGenerator rnorm)
-
ConcurrentStandardNormalRNG
public ConcurrentStandardNormalRNG()
-
-
Method Detail
-
nextDouble
public double nextDouble()
Description copied from interface:RandomNumberGenerator
Get the next randomdouble
.- Specified by:
nextDouble
in interfaceRandomNumberGenerator
- Returns:
- the next random number
-
-