﻿MultipleCurveFit Class   # 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
SystemObject
CenterSpace.NMath.CoreMultipleCurveFit

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3 Syntax
`public class MultipleCurveFit`

The MultipleCurveFit type exposes the following members. Constructors
NameDescription MultipleCurveFit
Constructs a MultipleCurveFit object with default settings. MultipleCurveFit(Double)
Constructs a MultipleCurveFit object with the minimizer using the given error tolerance in finding the solution. MultipleCurveFit(Int32)
Constructs a MultipleCurveFit object with the minimizer using the given maximum number of iterations to perform. MultipleCurveFit(TrustRegionMinimizer)
Constructs a MultipleCurveFit object using the provided minimizer. MultipleCurveFit(Double, Int32)
Constructs a MultipleCurveFit object with the minimizer using the given maximum number of iterations to perform and error tolerance.
Top Properties
NameDescription 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
NameDescription Fit(IListMultipleFitCurveInfo, DoubleVector)
Performs the fit. Fit(IListMultipleFitCurveInfo, DoubleVector, DoubleVector, DoubleVector)
Top See Also