package gsl

  1. Overview
  2. Docs

Random Number Distributions

val gaussian : Gsl_rng.t -> sigma:float -> float
val gaussian_ratio_method : Gsl_rng.t -> sigma:float -> float
val gaussian_ziggurat : Gsl_rng.t -> sigma:float -> float
val gaussian_pdf : float -> sigma:float -> float
val ugaussian : Gsl_rng.t -> float
val ugaussian_ratio_method : Gsl_rng.t -> float
val ugaussian_pdf : float -> float
val gaussian_tail : Gsl_rng.t -> a:float -> sigma:float -> float
val gaussian_tail_pdf : float -> a:float -> sigma:float -> float
val ugaussian_tail : Gsl_rng.t -> a:float -> float
val ugaussian_tail_pdf : float -> a:float -> float
val bivariate_gaussian : Gsl_rng.t -> sigma_x:float -> sigma_y:float -> rho:float -> float * float
val bivariate_gaussian_pdf : x:float -> y:float -> sigma_x:float -> sigma_y:float -> rho:float -> float
val exponential : Gsl_rng.t -> mu:float -> float
val exponential_pdf : float -> mu:float -> float
val laplace : Gsl_rng.t -> a:float -> float
val laplace_pdf : float -> a:float -> float
val exppow : Gsl_rng.t -> a:float -> b:float -> float
val exppow_pdf : float -> a:float -> b:float -> float
val cauchy : Gsl_rng.t -> a:float -> float
val cauchy_pdf : float -> a:float -> float
val rayleigh : Gsl_rng.t -> sigma:float -> float
val rayleigh_pdf : float -> sigma:float -> float
val rayleigh_tail : Gsl_rng.t -> a:float -> sigma:float -> float
val rayleigh_tail_pdf : float -> a:float -> sigma:float -> float
val landau : Gsl_rng.t -> float
val landau_pdf : float -> float
val levy : Gsl_rng.t -> c:float -> alpha:float -> float
val levy_skew : Gsl_rng.t -> c:float -> alpha:float -> beta:float -> float
val gamma : Gsl_rng.t -> a:float -> b:float -> float
val gamma_int : Gsl_rng.t -> a:int -> float
val gamma_pdf : float -> a:float -> b:float -> float
val gamma_mt : Gsl_rng.t -> a:int -> b:float -> float
val gamma_knuth : Gsl_rng.t -> a:int -> b:float -> float
val flat : Gsl_rng.t -> a:float -> b:float -> float
val flat_pdf : float -> a:float -> b:float -> float
val lognormal : Gsl_rng.t -> zeta:float -> sigma:float -> float
val lognormal_pdf : float -> zeta:float -> sigma:float -> float
val chisq : Gsl_rng.t -> nu:float -> float
val chisq_pdf : float -> nu:float -> float
val dirichlet : Gsl_rng.t -> alpha:float array -> theta:float array -> unit
val dirichlet_pdf : alpha:float array -> theta:float array -> float
val dirichlet_lnpdf : alpha:float array -> theta:float array -> float
val fdist : Gsl_rng.t -> nu1:float -> nu2:float -> float
val fdist_pdf : float -> nu1:float -> nu2:float -> float
val tdist : Gsl_rng.t -> nu:float -> float
val tdist_pdf : float -> nu:float -> float
val beta : Gsl_rng.t -> a:float -> b:float -> float
val beta_pdf : float -> a:float -> b:float -> float
val logistic : Gsl_rng.t -> a:float -> float
val logistic_pdf : float -> a:float -> float
val pareto : Gsl_rng.t -> a:float -> b:float -> float
val pareto_pdf : float -> a:float -> b:float -> float
val dir_2d : Gsl_rng.t -> float * float
val dir_2d_trig_method : Gsl_rng.t -> float * float
val dir_3d : Gsl_rng.t -> float * float * float
val dir_nd : Gsl_rng.t -> float array -> unit
val weibull : Gsl_rng.t -> a:float -> b:float -> float
val weibull_pdf : float -> a:float -> b:float -> float
val gumbel1 : Gsl_rng.t -> a:float -> b:float -> float
val gumbel1_pdf : float -> a:float -> b:float -> float
val gumbel2 : Gsl_rng.t -> a:float -> b:float -> float
val gumbel2_pdf : float -> a:float -> b:float -> float
type discrete
val discrete_preproc : float array -> discrete
val discrete : Gsl_rng.t -> discrete -> int
val discrete_pdf : int -> discrete -> float
val poisson : Gsl_rng.t -> mu:float -> int
val poisson_pdf : int -> mu:float -> float
val bernoulli : Gsl_rng.t -> p:float -> int
val bernoulli_pdf : int -> p:float -> float
val binomial : Gsl_rng.t -> p:float -> n:int -> int
val binomial_knuth : Gsl_rng.t -> p:float -> n:int -> int
val binomial_tpe : Gsl_rng.t -> p:float -> n:int -> int
val binomial_pdf : int -> p:float -> n:int -> float
val multinomial : Gsl_rng.t -> n:int -> p:float array -> int array
val multinomial_pdf : p:float array -> n:int array -> float
val multinomial_lnpdf : p:float array -> n:int array -> float
val negative_binomial : Gsl_rng.t -> p:float -> n:float -> int
val negative_binomial_pdf : int -> p:float -> n:float -> float
val pascal : Gsl_rng.t -> p:float -> k:int -> int
val pascal_pdf : int -> p:float -> n:int -> float
val geometric : Gsl_rng.t -> p:float -> int
val geometric_pdf : int -> p:float -> float
val hypergeometric : Gsl_rng.t -> n1:int -> n2:int -> t:int -> int
val hypergeometric_pdf : int -> n1:int -> n2:int -> t:int -> float
val logarithmic : Gsl_rng.t -> p:float -> int
val logarithmic_pdf : int -> p:float -> float
val shuffle : Gsl_rng.t -> 'a array -> unit
val choose : Gsl_rng.t -> src:'a array -> dst:'a array -> unit
val sample : Gsl_rng.t -> src:'a array -> dst:'a array -> unit
OCaml

Innovation. Community. Security.