numpy.linspace()

numpy.linspace

numpy.linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None) [source]

Return evenly spaced numbers over a specified interval.

Returns num evenly spaced samples, calculated over the interval [start, stop].

The endpoint of the interval can optionally be excluded.

Parameters:

start : scalar

The starting value of the sequence.

stop : scalar

The