Package DistLib
Class exponential
java.lang.Object
DistLib.exponential
Wrapper of functions for the exponential distribution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 variates from the exponential distributionstatic double
-
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
Random variates from the exponential distribution -
random
-