是否有做插/外推的C#数学库 [英] Are there any C# math libraries that do interpolation / extrapolation

查看:147
本文介绍了是否有做插/外推的C#数学库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,我有个

YX 结果
100 50结果
90 43结果
80 32

Y X
100 50
90 43
80 32

需要解决为Y = 50

need to solve for y = 50

YX 结果
1/1/2009 100结果
2009/1/3 97结果
2009年1月4日94结果
1/5/2009 92结果
2009年1月6日91结果
2009年1月7日89

Y X
1/1/2009 100
1/3/2009 97
1/4/2009 94
1/5/2009 92
1/6/2009 91
1/7/2009 89

需要解决为Y = 2009年1月23日

need to solve for y = 1/23/2009

推荐答案

的一个我用的是Math.NET http://numerics.mathdotnet.com/

The one I use is the numerics component of Math.NET http://numerics.mathdotnet.com/

它包含了不同的插补方法,包括重心的方法和样条曲线。

It contains "various interpolation methods, including barycentric approaches and splines".

不过,俗话说,有谎言,该死的谎言和双立方样条插补。

But as the saying goes, there are lies, damn lies and bicubic spline interpolations.

这篇关于是否有做插/外推的C#数学库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆