package tezos-protocol-012-Psithaca
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.
module type Mass = sig ... end
Mass
is the module type describing the measure associated to points.
module type S = sig ... end
S
is the module type of a module allowing to construct samplers based on the alias method.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>