Uses of Class
cern.jet.random.engine.RandomEngine
-
Packages that use RandomEngine Package Description cern.jet.random cern.jet.random.engine -
-
Uses of RandomEngine in cern.jet.random
Fields in cern.jet.random declared as RandomEngine Modifier and Type Field Description protected RandomEngine
AbstractDistribution. randomGenerator
Methods in cern.jet.random that return RandomEngine Modifier and Type Method Description protected RandomEngine
AbstractDistribution. getRandomGenerator()
Returns the used uniform random number generator;static RandomEngine
AbstractDistribution. makeDefaultGenerator()
Constructs and returns a new uniform random number generation engine seeded with the current time.Methods in cern.jet.random with parameters of type RandomEngine Modifier and Type Method Description protected void
AbstractDistribution. setRandomGenerator(RandomEngine randomGenerator)
Sets the uniform random generator internally used.static void
Uniform. staticSetRandomEngine(RandomEngine randomGenerator)
Sets the uniform random number generation engine shared by all static methods.Constructors in cern.jet.random with parameters of type RandomEngine Constructor Description Uniform(double min, double max, RandomEngine randomGenerator)
Constructs a uniform distribution with the given minimum and maximum.Uniform(RandomEngine randomGenerator)
Constructs a uniform distribution withmin=0.0
andmax=1.0
. -
Uses of RandomEngine in cern.jet.random.engine
Subclasses of RandomEngine in cern.jet.random.engine Modifier and Type Class Description class
DRand
Quick medium quality uniform pseudo-random number generator.class
MersenneTwister
MersenneTwister (MT19937) is one of the strongest uniform pseudo-random number generators known so far; at the same time it is quick.Methods in cern.jet.random.engine that return RandomEngine Modifier and Type Method Description static RandomEngine
RandomEngine. makeDefault()
Constructs and returns a new uniform random number engine seeded with the current time.
-