On Sat, 25 May 2019, at 1:49 PM, C W wrote:
> I can't be the first person who asked about range() that calculates the 
> *actual* range of two numbers.

Based on your mention of matlab's `range`, I think you're looking for 
numpy.ptp. 

https://docs.scipy.org/doc/numpy/reference/generated/numpy.ptp.html
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to