bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _distribution_infrastructure / _Interval / draw
function
scipy.stats._distribution_infrastructure:_Interval.draw
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_distribution_infrastructure.py:329
Signature
def draw(self, n, type_, min, max, squeezed_base_shape, rng = None)Summary
Draw random values from the domain.
Parameters
n: intThe number of values to be drawn from the domain.
type_: strA string indicating whether the values are
strictly within the domain ('in'),
at one of the two endpoints ('on'),
strictly outside the domain ('out'), or
NaN ('nan').
min, max: ndarrayThe endpoints of the domain.
squeezed_base_shape: tuple of intsSee _RealParameter.draw.
rng: np.GeneratorThe Generator used for drawing random values.
Aliases
scipy.stats._distribution_infrastructure._Interval.draw