摘要: 参考链接:https://blog.csdn.net/u013733326/article/details/79702148 # coding=utf-8 # This is a sample Python script. # Press ⌃R to execute it or replace it 阅读全文
posted @ 2021-01-18 15:07 维和战艇机 阅读(205) 评论(0) 推荐(0)
摘要: 1、numpy库 import numpy as np np.random.seed(1) #设置随机种子 np.log(x) #给list中的每个元素取对数 np.multiply(x, y) #list中对应元素相乘 np.dot(x, y) #矩阵乘法 np.power(x, 2) #list 阅读全文
posted @ 2021-01-18 15:04 维和战艇机 阅读(185) 评论(0) 推荐(0)