2019-04-18
阅读量:
491
创建一个大小为10的向量 其值从0到1不等 两个值都被排除
Z = np.linspace(0,1,num=12,endpoint=True)[1:-1]
print Z
[ 0.09090909 0.18181818 0.27272727 0.36363636 0.45454545 0.54545455
0.63636364 0.72727273 0.81818182 0.90909091]






评论(0)


暂无数据