We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
拉格朗日插值法
The text was updated successfully, but these errors were encountered:
针对xy平面上的n个点: $(x_1,y_1), (x_2, y_2), ... (x_n, y_n)$ , 我们可以使用该方法构造出一个n次多项式,即: $y= a_0+a_1x + a_2x^2 + a_3x^3 + ... a_{n-1}x^{n-1}$ 该多项式所代表的曲线,会经过以上n个点
如何来构建该多项式? 举例来说:当前有四个点,我们构造4条曲线:
然后我们把四条曲线各自乘以它们的y值,然后把四条曲线相加
最后的曲线就为目标曲线
数学式子为: $\sum_{i=0}^{n}{y_il_i(x)}$ $l_i = (x-x_j)/(x_i-x_j), j\neq{i}$
Sorry, something went wrong.
No branches or pull requests
Shamir's Secret Sharing(SSS)
拉格朗日插值法
)The text was updated successfully, but these errors were encountered: