I'm looking for something similar to numpy.linspace to generate an array of numbers based on a starting value, an ending value and the desired number of values in the array.
Example:
start=2.0, end=3.0, num=5
result = [2.0, 2.25, 2.5 , 2.75, 3.0]
I've come across this, but it separates the range based on the steps between.
Does JavaScript have a built-in method to accomplish this?