Skip to main content

Module sample

Module sample 

Source
Expand description

Deterministic sampling and black boxes: every point is named by a key, so reruns and snapshots reproduce and callers that share a key share evaluations.

Structs§

Rng
xoshiro256++, seeded through SplitMix64.

Traits§

BlackBox
A polynomial or rational function known only through its values modulo p. None marks a point where evaluation broke down and which should be avoided.

Functions§

hash
A hash of key, for deriving independent seeds from one.
point
The nonzero residue modulo p named by key.