uniform#
- named_arrays.random.uniform(low, high, shape_random=None, seed=None)#
Draw samples from a uniform distribution
- Parameters:
low (float | complex | Quantity | AbstractArray) – Lower boundary of the output
high (float | complex | Quantity | AbstractArray) – Upper boundary of the output
shape_random (None | dict[str, int]) – Additional dimensions to be broadcast against
startandstopseed (None | int) – Seed for the random number generator, can be provided for repeatability
- Return type:
See also
numpy.random.uniform()Equivalent numpy function
named_arrays.ScalarUniformRandomSampleImplicit array version of this function for scalars
named_arrays.UncertainScalarUniformRandomSampleImplicit array version of this function for uncertain scalars