Class: Sobol

qmc.Sobol(d, optionsopt)

Sobol' low-discrepancy sequence (Joe–Kuo direction numbers, Gray code order), optionally scrambled with a random linear matrix scramble and digital shift (as scipy). Supports up to 256 dimensions with the bundled direction numbers, or more with options.directions.

Unscrambled points are identical to scipy.stats.qmc.Sobol(d, scramble=False). Use sample sizes that are powers of 2 to keep the balance properties.

Constructor

new Sobol(d, optionsopt)

Parameters:
Name Type Attributes Description
d number

Dimension.

options Object <optional>
Properties
Name Type Attributes Default Description
scramble boolean <optional>
true

Apply LMS + digital shift scrambling.

rng Object <optional>

Generator used for the scrambling (global generator otherwise).

directions Array.<Array.<number>> <optional>

Custom direction numbers [poly, m_1, ..., m_s] per dimension.

Source: