On 3/13/2015 12:01 PM, Robert Kern wrote:
> Roughly equivalent to:
>
> uni = np.array([
>    np.random.uniform(-0.5, 201),
>    np.random.uniform(0.5, 201),
> ])



OK, broadcasting of `low` and `high` is reasonably fun.
But is it documented?
I was looking at the docstring, which matches the online help:
http://docs.scipy.org/doc/numpy/reference/generated/numpy.random.uniform.html#numpy.random.uniform

Thanks,
Alan Isaac
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to