Class RandomNumberGenerator

java.lang.Object
org.drip.measure.crng.RandomNumberGenerator
Direct Known Subclasses:
LinearCongruentialGenerator, LogNormalRandomNumberGenerator, ShiftRegisterGenerator

public class RandomNumberGenerator
extends java.lang.Object
RandomNumberGenerator provides the Functionality to generate Random Numbers. Default simply forwards to the Native JRE/JDK Implementation.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    RandomNumberGenerator()
    Empty RandomNumberGenerator Constructor
  • Method Summary

    Modifier and Type Method Description
    double nextDouble01()
    Retrieve a Random Number between 0 and 1

    Methods inherited from class java.lang.Object

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

    • RandomNumberGenerator

      public RandomNumberGenerator()
      Empty RandomNumberGenerator Constructor
  • Method Details

    • nextDouble01

      public double nextDouble01()
      Retrieve a Random Number between 0 and 1
      Returns:
      Random Number between 0 and 1