package owl

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

Module Make.GaussianSource

Sourcetype t = {
  1. mu : A.arr;
  2. sigma : A.arr;
}

Type definition of a specific distribution

Sourceval make : mu:A.arr -> sigma:A.arr -> t

Make a distribution of the given parameters.

Sourceval sample : t -> int -> A.arr

Sample a distribution of the given parameters.

Sourceval pdf : t -> A.arr -> A.arr

Probability density/mass function of the distribution.

Sourceval logpdf : t -> A.arr -> A.arr

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

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

Cumulative density/mass function of the distribution.

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

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

Sourceval ppf : t -> A.arr -> A.arr

Percentile function of the distribution.

Sourceval sf : t -> A.arr -> A.arr

Survival function of the distribution.

Sourceval logsf : t -> A.arr -> A.arr

Logarithm of the survival function of the distribution.

Sourceval isf : t -> A.arr -> A.arr

Inverse survival function of the distribution.

OCaml

Innovation. Community. Security.