Make.F
type t = {
dfnum : A.arr;
dfden : A.arr;
}
Type definition of a specific distribution
val make : dfnum:A.arr -> dfden:A.arr -> t
Make a distribution of the given parameters.
val sample : t -> int -> A.arr
Sample a distribution of the given parameters.
val pdf : t -> A.arr -> A.arr
Probability density/mass function of the distribution.
val logpdf : t -> A.arr -> A.arr
Logarithm of the probability density/mass function of the distribution.
val cdf : t -> A.arr -> A.arr
Cumulative density/mass function of the distribution.
val logcdf : t -> A.arr -> A.arr
Logarithm of the cumulative density/mass function of the distribution.
val ppf : t -> A.arr -> A.arr
Percentile function of the distribution.
val sf : t -> A.arr -> A.arr
Survival function of the distribution.
val logsf : t -> A.arr -> A.arr
Logarithm of the survival function of the distribution.
val isf : t -> A.arr -> A.arr
Inverse survival function of the distribution.