numpy次方计算

 

>>> 2**np.arange(3, 6)
array([ 8, 16, 32])

 

posted @ 2017-09-15 21:48  有梦就要去实现他  阅读(1704)  评论(0编辑  收藏  举报