Numpy gleichmäßig verteilte Zahlen
np.linspace(0, 10, 5) # evenly-spaced 5 numbers in [0, 10]
# [ 0. , 2.5, 5. , 7.5, 10. ]
Johan
np.linspace(0, 10, 5) # evenly-spaced 5 numbers in [0, 10]
# [ 0. , 2.5, 5. , 7.5, 10. ]