{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _qmc / Sobol / random_base2

function

scipy.stats._qmc:Sobol.random_base2

source: /scipy/stats/_qmc.py :1888

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