numpy——linspace创建等差数列

numpy.linspace(startstopnum=50endpoint=Trueretstep=Falsedtype=None)

 a=np.linspace(1000,320000,num=32,dtype=int)

posted @ 2016-11-03 14:51  乐乐章  阅读(644)  评论(0编辑  收藏  举报