package
Version:
v0.0.0-...-f3abbe6
Opens a new window with list of versions in this module.
Published: Sep 27, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
多项式曲线拟合函数,也就是离散点拟合直线
xs: 横坐标值
ys:纵坐标值
degree:拟合多项式的次数
输出:degree次拟合多项式系数(coefficients),其长度=degree+1,第一个值就是斜率,后面的值是截距误差。若要计算多项式在横坐标上的值,还要继续调用函数PolyVal
Source Files
¶
Click to show internal directories.
Click to hide internal directories.