Package DistLib
Class exponential
- java.lang.Object
-
- DistLib.exponential
-
public class exponential extends java.lang.ObjectWrapper 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 doublecumulative(double x, double scale)Distribution function of the exponential distributionstatic doubledensity(double x, double scale)Density of the exponential distribution.static doublequantile(double x, double scale)quantile function of the exponential distributionstatic doublerandom(double scale, uniform PRNG)Random variates from the exponential distributionstatic doublerandom(uniform PRNG)
-
-
-
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)
-
-