Click or drag to resize

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.4
Syntax
public class MultipleCurveFit

The MultipleCurveFit type exposes the following members.

Constructors
 NameDescription
Public methodMultipleCurveFit Constructs a MultipleCurveFit object with default settings.
Public methodMultipleCurveFit(Double) Constructs a MultipleCurveFit object with the minimizer using the given error tolerance in finding the solution.
Public methodMultipleCurveFit(Int32) Constructs a MultipleCurveFit object with the minimizer using the given maximum number of iterations to perform.
Public methodMultipleCurveFit(TrustRegionMinimizer) Constructs a MultipleCurveFit object using the provided minimizer.
Public methodMultipleCurveFit(Double, Int32) Constructs a MultipleCurveFit object with the minimizer using the given maximum number of iterations to perform and error tolerance.
Top
Properties
 NameDescription
Public propertyFinalResidual Gets the final residual.
Public propertyInitialResidual Gets the initial residual.
Public propertyInitialStepBound Gets and sets the initial step bound. In most cases this should be between 0.1 and 100.0.
Public propertyIterations Gets the number of iterations used in the estimate of the parameters just computed.
Public propertyMaxIterationsMet Returns true if the parameters just computed stopped because the maximum number of iterations was reached; otherwise, false.
Public propertyMaxTrialIterations Gets and sets the maximum number of iterations of trial step calculation.
Public propertyMinimizer Gets and sets the least squares minimizer used to perform the fit.
Public propertyStopCriterion The reason for stopping.
Public propertyToleranceFunctionValue Gets and sets the tolerance used to check the function value.
Public propertyToleranceImprovement Gets and sets the tolerance used to check the improvement between steps.
Public propertyToleranceJacobian Gets and sets the tolerance used to check the Jacobian.
Public propertyToleranceTrialStep Gets and sets the tolerance used to check the trial step.
Public propertyToleranceTrustRegionArea Gets and sets the tolerance used to check the trust region area.
Top
Methods
See Also