 | MultipleCurveFit Class |
Class for performing simulatenous fitting of multiple data sets with
shared fitting parameters.
As an example suppose we have two sets of data points-
dataset 1 = { (x11,y11), (x12,y12),...,(x1n,y1n) }
dataset 2 = { (x21,y21), (x22,y22),...,(x2n,y2m) }
And suppose we have two parameterized functions
f1(beta,x) = cos(2*pi*beta(0)*x)*exp(-x/beta(1))
f2(beta,x) = beta(3) + beta(2)*exp(-(x/beta(1)))
where beta is a vector of four parameters. The MultiCurveFit
class solves the problem of finding the parameter values beta
that best fit, in the least squares sense, the function f1 to dataset 1
and the function f2 to dataset 2 with the parameter beta(1) being the same for
both datasets.
Inheritance Hierarchy Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic class MultipleCurveFit
Public Class MultipleCurveFit
public ref class MultipleCurveFit
type MultipleCurveFit = class end
The MultipleCurveFit type exposes the following members.
Constructors
Properties | Name | Description |
---|
 | FinalResidual |
Gets the final residual.
|
 | InitialResidual |
Gets the initial residual.
|
 | InitialStepBound |
Gets and sets the initial step bound. In most cases this should be
between 0.1 and 100.0.
|
 | Iterations |
Gets the number of iterations used in the estimate of the
parameters just computed.
|
 | MaxIterationsMet |
Returns true if the parameters just computed stopped because the
maximum number of iterations was reached; otherwise, false.
|
 | MaxTrialIterations |
Gets and sets the maximum number of iterations of trial step calculation.
|
 | Minimizer |
Gets and sets the least squares minimizer used to perform the fit.
|
 | StopCriterion |
The reason for stopping.
|
 | ToleranceFunctionValue |
Gets and sets the tolerance used to check the function value.
|
 | ToleranceImprovement |
Gets and sets the tolerance used to check the improvement between steps.
|
 | ToleranceJacobian |
Gets and sets the tolerance used to check the Jacobian.
|
 | ToleranceTrialStep |
Gets and sets the tolerance used to check the trial step.
|
 | ToleranceTrustRegionArea |
Gets and sets the tolerance used to check the trust region area.
|
Top
Methods
See Also