Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy linspace

np.linspace(0, 10, 5)  # evenly-spaced 5 numbers in [0, 10]
# [ 0. ,  2.5,  5. ,  7.5, 10. ]
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #numpy #linspace
ADD COMMENT
Topic
Name
9+3 =