Package DistLib
Class exponential
- java.lang.Object
-
- DistLib.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 distributionstatic double
density(double x, double scale)
Density of the exponential distribution.static double
quantile(double x, double scale)
quantile function of the exponential distributionstatic double
random(double scale, uniform PRNG)
Random variates from the exponential distributionstatic double
random(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)
-
-