Package DistLib

Class exponential


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

      Constructors 
      Constructor Description
      exponential()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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 random​(uniform PRNG)  
      • Methods inherited from class java.lang.Object

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

      • exponential

        public exponential()
    • Method Detail

      • 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)