Documentation of 'org.uncommons.maths.random.ContinuousUniformGenerator' Java class
ContinuousUniformGenerator
org.uncommons.maths.random

Class ContinuousUniformGenerator

  • All Implemented Interfaces:
    NumberGenerator<java.lang.Double>


    public class ContinuousUniformGenerator
    extends java.lang.Object
    implements NumberGenerator<java.lang.Double>
    Continuous, uniformly distributed random sequence. Generates values in the range mininum (inclusive) ... maximum (exclusive).
    • Constructor Summary

      Constructors 
      Constructor and Description
      ContinuousUniformGenerator(double minimumValue, double maximumValue, java.util.Random rng) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Double nextValue()
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContinuousUniformGenerator

        public ContinuousUniformGenerator(double minimumValue,
                                          double maximumValue,
                                          java.util.Random rng)
    • Method Detail

      • nextValue

        public java.lang.Double nextValue()
        Specified by:
        nextValue in interface NumberGenerator<java.lang.Double>
        Returns:
        The next value from the generator.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.