{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _qmc / PoissonDisk / _random

function

scipy.stats._qmc:PoissonDisk._random

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

Signature

def   _random ( self n : IntNumber = 1 * workers : IntNumber = 1 )  →  np.ndarray

Summary

Draw n in the interval [l_bounds, u_bounds].

Extended Summary

Note that it can return fewer samples if the space is full. See the note section of the class.

Parameters

n : int, optional

Number of samples to generate in the parameter space. Default is 1.

Returns

sample : array_like (n, d)

QMC sample.

Aliases

  • scipy.stats._qmc.PoissonDisk._random