文件名称:CurveFit_Poly
介绍说明--下载内容均来自于网络,请自行研究使用
多项式曲线拟合 任意介数 Purpose - Least-squares curve fit of arbitrary order
working in C++ Builder 2007 as a template class,
using vector<FloatType> parameters.
Added a method to handle some EMathError exceptions.
If do NOT want to use this just call PolyFit2 directly.
usage: Call PolyFit by something like this.
CPolyFit<double> PolyFitObj
double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A)
where X and Y are vectors of doubles which must have the same size and
A is a vector of doubles which must be the same size as the number of
coefficients required.
returns: The correlation coefficient or -1 on failure.
produces: A vector (A) which holds the coefficients.
working in C++ Builder 2007 as a template class,
using vector<FloatType> parameters.
Added a method to handle some EMathError exceptions.
If do NOT want to use this just call PolyFit2 directly.
usage: Call PolyFit by something like this.
CPolyFit<double> PolyFitObj
double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A)
where X and Y are vectors of doubles which must have the same size and
A is a vector of doubles which must be the same size as the number of
coefficients required.
returns: The correlation coefficient or -1 on failure.
produces: A vector (A) which holds the coefficients.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 109201272curvefit_poly.rar 列表 CurveFit_Poly\CPolyfit.cpp CurveFit_Poly\CPolyfit.h CurveFit_Poly\data.txt CurveFit_Poly\polycurvefit.cbproj CurveFit_Poly\polycurvefit.cbproj.local CurveFit_Poly\polycurvefit.cpp CurveFit_Poly\polyfitdemo.cpp CurveFit_Poly\polyfitdemo.dfm CurveFit_Poly\polyfitdemo.h CurveFit_Poly\polyfittest.cpp CurveFit_Poly