package ocephes

  1. Overview
  2. Docs

Bindings to Stephen Mosher's Cephes library.

Documentation is organized alphabetically by function/original-source.

Binomial Distribution -- bdtr.c

val bdtr : k:int -> n:int -> float -> float
INSERT:bdtr.c,3,47
val bdtrc : k:int -> n:int -> float -> float
INSERT:bdtr.c,51,94
val bdtri : k:int -> n:int -> float -> float
INSERT:bdtr.c,98,138

Beta Distribution -- btdtr.c

val btdtr : a:float -> b:float -> float -> float
INSERT:btdtr.c,3,42

Cheybshev Series -- chbevl.c

val chbevl : ?n:int -> float -> float array -> float
INSERT:chbevl.c,3,50

Chi-square distribution -- chdtr.c

val chdtr : df:float -> float -> float
INSERT:chdtr.c,3,49
val chdtrc : v:float -> float -> float
INSERT:chdtr.c,53,99
val chdtri : df:float -> float -> float
INSERT:chdtr.c,103,138

Exponential of squared argument -- expx2.c

val expx2 : float -> int -> float
INSERT:expx2.c,2,30

F distribution -- fdtr.c

val fdtr : df1:int -> df2:int -> float -> float
INSERT:fdtr.c,2,49
val fdtrc : df1:int -> df2:int -> float -> float
INSERT:fdtr.c,52,101
val fdtri : df1:int -> df2:int -> float -> float
INSERT:fdtr.c,104,153

Gamma function -- gamma.c

val gamma : float -> float

gamma x computes the gamma function for x, this is the extension of the factorial function to real numbers.

INSERT:gamma.c,2,42
val lgam : float -> float

lgam x computes the logarithm of the gamma function.

INSERT:gamma.c,45,95

Gamma distribution function -- gdtr.c

val gdtr : a:float -> b:float -> float -> float
INSERT:gdtr.c,2,43
val gdtrc : a:float -> b:float -> float -> float
INSERT:gdtr.c,46,87

Incomplete Gamma function -- igam.c

val igam : a:float -> float -> float

igam a x computes the regularized (divided by gamma a) lower incomplete (integrate from 0 to x) gamma function.

INSERT:igam.c,2,36
val igamc : a:float -> float -> float

igamc a x computes the regularized (divided by gamma a) uppwer incomplete (integrate x to infinity) gamma function.

INSERT:igam.c,39,77

Inverse of complemented incomplete gamma -- igami.c

val igami : a:float -> float -> float
INSERT:igami.c,2,43

Incomplete beta function -- incbet.c

val incbet : a:float -> b:float -> float -> float
INSERT:incbet.c,2,53

Inverse of incomplete beta integral -- incbi.c

val incbi : a:float -> b:float -> float -> float
INSERT:incbi.c,2,38

Negative binomial distribution -- nbdtr.c

val nbdtr : k:int -> n:int -> float -> float
INSERT:nbdtr.c,2,43
val nbdtrc : k:int -> n:int -> float -> float
INSERT:nbdtr.c,47,83
val nbdtri : k:int -> n:int -> float -> float
INSERT:nbdtr.c,86,109

Normal distribution -- ndtr.c

val ndtr : float -> float
INSERT:ndtr.c,3,45
val erf : float -> float
INSERT:ndtr.c,50,88
val erfc : float -> float
INSERT:ndtr.c,92,136

.

Inverse of Normal distribution -- ndtri.c

val ndtri : float -> float

ndtri p computes the value x such that the integral of the normal probability density function from neg_infinity to x is p.

INSERT:ndtri.c,2,45

Poisson distribution -- pdtr.c

val pdtr : k:int -> float -> float
INSERT:pdtr.c,2,39
val pdtrc : k:int -> float -> float
INSERT:pdtr.c,42,79
val pdtri : k:int -> float -> float
INSERT:pdtr.c,82,120

Student's T distribution -- stdtr.c

val stdtr : k:int -> float -> float
INSERT:stdtr.c,2,50
val stdtri : k:int -> float -> float

stdtri k p computes the value x such that the integral (from neg_infinity to x) of the Student's T probability density function, with k degrees of freedom is p.

INSERT:stdtr.c,54,78