C#的正弦拟合类 [英] Sinusoidal fitting classes for c#
问题描述
我想知道是否存在用于将数据拟合到正弦曲线的类。我在此处找到了一种算法但是首先理解并编写代码需要花费一些时间...在走那条路之前,我想知道论坛是否知道已经为此类数学建模创建的类。
I am wondering if there is a class for fitting data to a sine curve. I found an algorithm for it here but it would take some time to first understand and then code... Before I go down that road I am wondering if the forum knows of a class that is already created for such mathematical modeling.
推荐答案
C#没有悠久的科学计算库传统。
C# does not have a long tradition of scientific computing libraries...
我的想法是获取众多数值计算程序包之一(例如它们(或数字食谱),然后将其包装在C#下。
My take would be to get one of the numerous numerical computation routine packages (like on of them, or the Numerical Recipes) in C/C++, and wrap it under C#.
另请参见此Math.SE帖子。
在商业方面, NMath库具有 MultiVariableFunctionFitter
类非常适合您。
On the commercial side, NMath library has a MultiVariableFunctionFitter
class that is would be perfect for you.
最后,请参见此维基百科列表。
这篇关于C#的正弦拟合类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!