Skip to main content

Module sampling

Module sampling 

Source
Expand description

Start-point sampling for --minima: scrambled Sobol’ or uniform box sampling when a finite box is known, else Gaussian jitter around x0. Mirrors _sample / _make_sobol in python/pounce/_minima.py.

Reproducibility: the PRNG is a seeded ChaCha8Rng and the Sobol’ source is sobol_burley (Owen-scrambled, matching scipy’s qmc.Sobol(scramble=True)), both keyed off --seed.

Structs§

Sampler
Seeded sampler shared across a --minima run.

Functions§

clip
Clip x into [lo, hi] when a finite box is known (no-op otherwise).