package gsl

  1. Overview
  2. Docs

Random Number Distributions

val gaussian : Rng.t -> sigma:float -> float
val gaussian_ratio_method : Rng.t -> sigma:float -> float
val gaussian_ziggurat : Rng.t -> sigma:float -> float
val gaussian_pdf : float -> sigma:float -> float
val ugaussian : Rng.t -> float
val ugaussian_ratio_method : Rng.t -> float
val ugaussian_pdf : float -> float
val gaussian_tail : Rng.t -> a:float -> sigma:float -> float
val gaussian_tail_pdf : float -> a:float -> sigma:float -> float
val ugaussian_tail : Rng.t -> a:float -> float
val ugaussian_tail_pdf : float -> a:float -> float
val bivariate_gaussian : 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 multivariate_gaussian : Rng.t -> mu:Vector.vector -> l:Matrix.matrix -> out:Vector.vector -> unit
val exponential : Rng.t -> mu:float -> float
val exponential_pdf : float -> mu:float -> float
val laplace : Rng.t -> a:float -> float
val laplace_pdf : float -> a:float -> float
val exppow : Rng.t -> a:float -> b:float -> float
val exppow_pdf : float -> a:float -> b:float -> float
val cauchy : Rng.t -> a:float -> float
val cauchy_pdf : float -> a:float -> float
val rayleigh : Rng.t -> sigma:float -> float
val rayleigh_pdf : float -> sigma:float -> float
val rayleigh_tail : Rng.t -> a:float -> sigma:float -> float
val rayleigh_tail_pdf : float -> a:float -> sigma:float -> float
val landau : Rng.t -> float
val landau_pdf : float -> float
val levy : Rng.t -> c:float -> alpha:float -> float
val levy_skew : Rng.t -> c:float -> alpha:float -> beta:float -> float
val gamma : Rng.t -> a:float -> b:float -> float
val gamma_int : Rng.t -> a:int -> float
val gamma_pdf : float -> a:float -> b:float -> float
val gamma_mt : Rng.t -> a:int -> b:float -> float
val gamma_knuth : Rng.t -> a:int -> b:float -> float
val flat : Rng.t -> a:float -> b:float -> float
val flat_pdf : float -> a:float -> b:float -> float
val lognormal : Rng.t -> zeta:float -> sigma:float -> float
val lognormal_pdf : float -> zeta:float -> sigma:float -> float
val chisq : Rng.t -> nu:float -> float
val chisq_pdf : float -> nu:float -> float
val dirichlet : 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 : Rng.t -> nu1:float -> nu2:float -> float
val fdist_pdf : float -> nu1:float -> nu2:float -> float
val tdist : Rng.t -> nu:float -> float
val tdist_pdf : float -> nu:float -> float
val beta : Rng.t -> a:float -> b:float -> float
val beta_pdf : float -> a:float -> b:float -> float
val logistic : Rng.t -> a:float -> float
val logistic_pdf : float -> a:float -> float
val pareto : Rng.t -> a:float -> b:float -> float
val pareto_pdf : float -> a:float -> b:float -> float
val dir_2d : Rng.t -> float * float
val dir_2d_trig_method : Rng.t -> float * float
val dir_3d : Rng.t -> float * float * float
val dir_nd : Rng.t -> float array -> unit
val weibull : Rng.t -> a:float -> b:float -> float
val weibull_pdf : float -> a:float -> b:float -> float
val gumbel1 : Rng.t -> a:float -> b:float -> float
val gumbel1_pdf : float -> a:float -> b:float -> float
val gumbel2 : 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 : Rng.t -> discrete -> int
val discrete_pdf : int -> discrete -> float
val poisson : Rng.t -> mu:float -> int
val poisson_pdf : int -> mu:float -> float
val bernoulli : Rng.t -> p:float -> int
val bernoulli_pdf : int -> p:float -> float
val binomial : Rng.t -> p:float -> n:int -> int
val binomial_knuth : Rng.t -> p:float -> n:int -> int
val binomial_tpe : Rng.t -> p:float -> n:int -> int
val binomial_pdf : int -> p:float -> n:int -> float
val multinomial_inplace : Rng.t -> n:int -> p:float array -> ret:int array -> int array
val multinomial : 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 : Rng.t -> p:float -> n:float -> int
val negative_binomial_pdf : int -> p:float -> n:float -> float
val pascal : Rng.t -> p:float -> k:int -> int
val pascal_pdf : int -> p:float -> n:int -> float
val geometric : Rng.t -> p:float -> int
val geometric_pdf : int -> p:float -> float
val hypergeometric : Rng.t -> n1:int -> n2:int -> t:int -> int
val hypergeometric_pdf : int -> n1:int -> n2:int -> t:int -> float
val logarithmic : Rng.t -> p:float -> int
val logarithmic_pdf : int -> p:float -> float
val shuffle : Rng.t -> 'a array -> unit
val choose : Rng.t -> src:'a array -> dst:'a array -> unit
val sample : Rng.t -> src:'a array -> dst:'a array -> unit
OCaml

Innovation. Community. Security.