python模块学习之numpy

from numpy import *
a = random.rand(4,4)
print(a)

 

[[0.96071933 0.15659095 0.23795284 0.80028527]
 [0.25926562 0.87378593 0.20084995 0.9765053 ]
 [0.87150961 0.91222365 0.4531782  0.6421906 ]
 [0.77002935 0.92848539 0.86430749 0.12730148]]

 

posted @ 2021-05-27 19:51  七彩木兰  阅读(41)  评论(0编辑  收藏  举报