Uncommons Maths API
(Version 1.2.3)

org.uncommons.maths.random
Class ContinuousUniformGenerator

java.lang.Object
  extended by org.uncommons.maths.random.ContinuousUniformGenerator
All Implemented Interfaces:
NumberGenerator<Double>

public class ContinuousUniformGenerator
extends Object
implements NumberGenerator<Double>

Continuous, uniformly distributed random sequence. Generates values in the range mininum (inclusive) ... maximum (exclusive).

Author:
Daniel Dyer

Constructor Summary
ContinuousUniformGenerator(double minimumValue, double maximumValue, Random rng)
           
 
Method Summary
 Double nextValue()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuousUniformGenerator

public ContinuousUniformGenerator(double minimumValue,
                                  double maximumValue,
                                  Random rng)
Method Detail

nextValue

public Double nextValue()

Specified by:
nextValue in interface NumberGenerator<Double>
Returns:
The next value from the generator.

Uncommons Maths API
(Version 1.2.3)