package prbnmcn-stats

  1. Overview
  2. Docs
Basic statistics

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.0.6.tar.gz
md5=9de4cb85c65ca355cbdf20266433051a
sha512=cd68f313ce045bfbe94e9b16346c52174842fd719b1a5f79ca4d752a3e18f97717781223a215799b82c862ced495565a24971317a1dd101eb612ea70e9a570d9

doc/prbnmcn-stats/Stats/Stats_intf/index.html

Module Stats.Stats_intfSource

Type signatures.

Sourcetype range = {
  1. min : float;
  2. max : float;
}

The type of (inclusive) ranges.

Sourcetype 'a iterator = ('a -> unit) -> unit

An 'a iterator abstracts a finite sequence of elements.

Primitive representations of distributions: empirical, generative or finitely supported.

Sourcetype 'a emp = 'a array

'a emp is the type of empirical measures

Sourcetype ('s, 'a) gen = 's -> 'a

'a gen is the type of mutable samplers of type 'a with state of type 's

Sourcetype ('a, 'r) fin_fun
Sourcetype ('a, 'r) fin_mes =
  1. | M of {
    1. total_mass : 'r;
    2. fn : ('a, 'r) fin_fun;
    }

fin_mes is the type of finitely supported measures.

Sourcetype ('a, 'r) fin_prb =
  1. | P of {
    1. fn : ('a, 'r) fin_fun;
    }

fin_prb is the type of finitely supported probability measures.

Sourcemodule type Stateful_PRNG = sig ... end

PRNG interface, subset of Random.State and Pringo.

Type classes.

Sourcemodule type Gen = sig ... end

Gen allows to manipulate generative probabilities (ie samplers).

Sourcemodule type Fin_dist = sig ... end
Sourcemodule type Graph = sig ... end

We use an OCamlgraph-compatible module type to describe undirected graphs. We assume that all graphs are undirected and simple.

OCaml

Innovation. Community. Security.