Sobol points
sobol_points.Rdn points of the Sobol sequence in dim dimensions: Joe and Kuo's
direction numbers (up to 1,111 dimensions) at 32 bits, in Gray-code
order. Unscrambled, the points are SciPy's
stats.qmc.Sobol(dim, scramble=False, bits=32) exactly, the first at the
origin. Scrambled, a linear matrix scramble with a digital shift drawn
from seed (SciPy's kind of scramble, not its random stream) makes each
point uniform and keeps the balance: over 2^m points each 1 / 2^m of
a coordinate holds one point.