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

bundles / scipy latest / scipy / stats / _qmc / PoissonDisk / _random

function

scipy.stats._qmc:PoissonDisk._random

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

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