Module Sampler.Make
Parameters
Id : Stdlib.Set.OrderedType
Signature
val init : int -> int -> int -> 'data tinit c s kInitialize sampler with settings c, s, k:c: sampler memory size (size of set Γ)s: precision of estimator (s = log(1/δ))k: error of estimator (k = e/ε)
The error of the estimator in answering a query for f_j is within a factor of ε with probability δ.
The sampler uses the
Nocrypto.Rngmodule which needs to be initialized before calling this function.