arrays - In python is there a range that has arguments that are two coordinates instead of integers? -
i want range go 1 coordinate in-built range function restricted integer arguments. possible?
numpy
provides range
-like function works floats. it's called arange
:
>>> numpy.arange(0.1,0.5, 0.1) array([ 0.1, 0.2, 0.3, 0.4])
Comments
Post a Comment