Numpy : np.linspace (구간에 점 만들기)
numpy.linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None, axis=0) 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. Changed in version 1.16.0: Non-scalar start and stop are now supported. 처음 start, stop을 지정해주고 num을 적어주면, 그 숫자만큼 구간에서 점을 ..
2020. 6. 4.