Class BoundedUniform

java.lang.Object

public class BoundedUniform
extends Bounded
BoundedUniform implements the Bounded Uniform Distribution, with a Uniform Distribution between a lower and an upper Bound.



Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    BoundedUniform​(double dblLowerBound, double dblUpperBound)
    BoundedUniform Distribution Constructor
  • Method Summary

    Modifier and Type Method Description
    double random()
    Generate a Random Number according to the specified rule

    Methods inherited from class org.drip.sequence.random.Bounded

    lowerBound, sequence, upperBound

    Methods inherited from class org.drip.sequence.random.UnivariateSequenceGenerator

    sequence

    Methods inherited from class java.lang.Object

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

    • BoundedUniform

      public BoundedUniform​(double dblLowerBound, double dblUpperBound) throws java.lang.Exception
      BoundedUniform Distribution Constructor
      Parameters:
      dblLowerBound - The Lower Bound
      dblUpperBound - The Upper Bound
      Throws:
      java.lang.Exception - Thrown if the Inputs are invalid
  • Method Details