numpy linspace

https://www.cnblogs.com/antflow/p/7220798.html

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

在指定的间隔内返回均匀间隔的数字。

返回num均匀分布的样本,在[start, stop]。

猜你喜欢

转载自www.cnblogs.com/ymjyqsx/p/10865430.html