Uses of Class
cern.jet.random.engine.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 RandomEngineAbstractDistribution. randomGeneratorMethods in cern.jet.random that return RandomEngine Modifier and Type Method Description protected RandomEngineAbstractDistribution. getRandomGenerator()Returns the used uniform random number generator;static RandomEngineAbstractDistribution. 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 voidAbstractDistribution. setRandomGenerator(RandomEngine randomGenerator)Sets the uniform random generator internally used.static voidUniform. 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.0andmax=1.0. -
Uses of RandomEngine in cern.jet.random.engine
Subclasses of RandomEngine in cern.jet.random.engine Modifier and Type Class Description classDRandQuick medium quality uniform pseudo-random number generator.classMersenneTwisterMersenneTwister (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 RandomEngineRandomEngine. makeDefault()Constructs and returns a new uniform random number engine seeded with the current time.