package owl

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Owl_distribution.MakeSource

Parameters

Signature

Uniform distribution
Sourcemodule Uniform : sig ... end
Gaussian distribution
Sourcemodule Gaussian : sig ... end
Exponential distribution
Sourcemodule Exponential : sig ... end
Poisson distribution
Sourcemodule Poisson : sig ... end
Gamma distribution
Sourcemodule Gamma : sig ... end
Beta distribution
Sourcemodule Beta : sig ... end
Chi2 distribution
Sourcemodule Chi2 : sig ... end
F distribution
Sourcemodule F : sig ... end
Cauchy distribution
Sourcemodule Cauchy : sig ... end
Lomax distribution
Sourcemodule Lomax : sig ... end
Weibull distribution
Sourcemodule Weibull : sig ... end
Laplace distribution
Sourcemodule Laplace : sig ... end
Gumbel1 distribution
Sourcemodule Gumbel1 : sig ... end
Gumbel2 distribution
Sourcemodule Gumbel2 : sig ... end
Logistic distribution
Sourcemodule Logistic : sig ... end
Lognormal distribution
Sourcemodule Lognormal : sig ... end
Rayleigh distribution
Sourcemodule Rayleigh : sig ... end
Type definition
Sourcetype dist =
  1. | Uniform of Uniform.t
  2. | Gaussian of Gaussian.t
  3. | Exponential of Exponential.t
  4. | Gamma of Gamma.t
  5. | Beta of Beta.t
  6. | Chi2 of Chi2.t
  7. | F of F.t
  8. | Cauchy of Cauchy.t
  9. | Lomax of Lomax.t
  10. | Weibull of Weibull.t
  11. | Laplace of Laplace.t
  12. | Gumbel1 of Gumbel1.t
  13. | Gumbel2 of Gumbel2.t
  14. | Logistic of Logistic.t
  15. | Lognormal of Lognormal.t
  16. | Rayleigh of Rayleigh.t
    (*

    Type definition of various distributions

    *)
Core functions
Sourceval sample : dist -> int -> A.arr

Sample a given distribution of the given parameters.

Sourceval prob : dist -> A.arr -> A.arr

Probability density/mass function of a given distribution.

Sourceval log_prob : dist -> A.arr -> A.arr

logarithmic probability density/mass function of a given distribution.

Sourceval cdf : dist -> A.arr -> A.arr

Cumulative density/mass function of the distribution.

Sourceval logcdf : dist -> A.arr -> A.arr

Logarithm of the cumulative density/mass function of the distribution.

OCaml

Innovation. Community. Security.