numpy常用操作之基本操作和基本运算

2018-05-18 14:45:48作者: 永永夜来源: [链接]己有:2298人学习过

基本操作和基本运算

np.exp(2)
7.389056098930650412
np.exp2(2)
4.012
np.sqrt(4)
2.012
np.sin([2,3])
array([ 0.90929743,  0.14112001])
np.log(2)
0.6931471805599452912
np.log10(2)
0.301029995663981212
np.log2(2)
1.012
np.max([1,2,3,4])
4


标签(TAG)numpy  

分享到 :

0条评论 添加新评论

后发表评论