bundles / scipy latest / scipy / stats / _distribution_infrastructure / _Interval / draw
function
scipy.stats._distribution_infrastructure:_Interval.draw
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_based_shape: tuple of intsSee _RealParameter.draw.
rng: np.GeneratorThe Generator used for drawing random values.
Aliases
-
scipy.stats._distribution_infrastructure._Interval.draw