Stats (nengolib.stats)

Transformations

spherical_transform(samples) Map samples from the [0, 1]–cube onto the hypersphere.
random_orthogonal(d[, rng]) Returns a random orthogonal matrix.

Distributions

ScatteredHypersphere(surface[, base]) Number–theoretic distribution over the hypersphere and hyperball.
SphericalCoords(m) Spherical coordinates for inverse transform method.
ScatteredCube([low, high, base]) Number-theoretic distribution over the hypercube.
Sobol() Sobol sequence for quasi Monte Carlo sampling the [0, 1]–cube.
Rd() Rd sequence for quasi Monte Carlo sampling the [0, 1]–cube.

Sphere-packing

leech_kissing([cache_file]) Generates the 196,560 “kissing points” in 24 dimensions.