package tezos-protocol-012-Psithaca

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

Module Tezos_raw_protocol_012_Psithaca.SamplerSource

Efficient sampling from given finitely supported (nonzero, positive) measures using the alias method. Measures need not be normalized on input, but sampling proceeds from the normalized probability measure associated to the given measure.

Sourcemodule type Mass = sig ... end

Mass is the module type describing the measure associated to points.

Sourcemodule type S = sig ... end

S is the module type of a module allowing to construct samplers based on the alias method.

OCaml

Innovation. Community. Security.