package pareto

  1. Overview
  2. Docs
type t = {
  1. nbinomial_failures : int;
  2. nbinomial_p : float;
}
type elt = int
val sample : ?rng:Gsl.Rng.t -> size:int -> t -> elt array
val cumulative_probability : t -> n:elt -> float
val probability : t -> n:elt -> float
val mean : t -> float
val variance : t -> float
val skewness : t -> float
val kurtosis : t -> float
val create : failures:int -> p:float -> t
val mme : int array -> t
OCaml

Innovation. Community. Security.