sampling random floats on a range in numpy

Viewed 69742

How can I sample random floats on an interval [a, b] in numpy? Not just integers, but any real numbers. For example,

random_float(5, 10)

would return random numbers between [5, 10]. thanks.

3 Answers
Related