def fun(x, y):
z = np.polyfit(x, y, 1)
return np.poly1d(z)
# =======================================================================================
# Checks if there are enough input parameters; else exits
评论列表
文章目录