Package DistLib

Class exponential

java.lang.Object
DistLib.exponential

public class exponential extends Object
Wrapper of functions for the exponential distribution.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    cumulative(double x, double scale)
    Distribution function of the exponential distribution
    static double
    density(double x, double scale)
    Density of the exponential distribution.
    static double
    quantile(double x, double scale)
    quantile function of the exponential distribution
    static double
    random(double scale, uniform PRNG)
    Random variates from the exponential distribution
    static double
     

    Methods inherited from class java.lang.Object

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

    • exponential

      public exponential()
  • Method Details

    • density

      public static double density(double x, double scale)
      Density of the exponential distribution.
    • cumulative

      public static double cumulative(double x, double scale)
      Distribution function of the exponential distribution
    • quantile

      public static double quantile(double x, double scale)
      quantile function of the exponential distribution
    • random

      public static double random(double scale, uniform PRNG)
      Random variates from the exponential distribution
    • random

      public static double random(uniform PRNG)