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 doublenextDouble()Get the next randomdouble.voidseed(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:RandomNumberGeneratorGet the next randomdouble.- Specified by:
nextDoublein interfaceRandomNumberGenerator- Returns:
- the next random number
-
-