This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / stats / _qmc / Sobol / random_base2

function

scipy.stats._qmc:Sobol.random_base2

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_qmc.py:1881

Signature

def random_base2(self, m: IntNumber) → np.ndarray

Summary

Draw point(s) from the Sobol' sequence.

Extended Summary

This function draws points in the parameter space ensuring the balance properties of the sequence.

Parameters

m : int

Logarithm in base 2 of the number of samples; i.e., n = 2^m.

Returns

sample : array_like (n, d)

Sobol' sample.

Aliases

  • scipy.stats._qmc.Sobol.random_base2