﻿MultipleCurveFitResidual Class

# MultipleCurveFitResidual Class

Calculates the residuals of a MultipleCurveFitFunction with a given set of parameters and data sets.
Inheritance Hierarchy

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
`public class MultipleCurveFitResidual : DoubleMultiVariableFunction`

The MultipleCurveFitResidual type exposes the following members.

Constructors
NameDescription
MultipleCurveFitResidual(IListDoubleVector, IListDoubleVector, MultipleCurveFitFunction)
Constructs a MultipleCurveFitResidual object from the given MultipleCurveFitFunction, data set x and y values, and weights for y values.
MultipleCurveFitResidual(IListDoubleVector, IListDoubleVector, IListDoubleVector, MultipleCurveFitFunction)
Constructs a MultipleCurveFitResidual object from the given MultipleCurveFitFunction, data set x and y values, and weights for y values.
Top
Properties
NameDescription
CentralDifferenceDelta
Sets the delta for using the central difference method for approximating the Jacobian. The Jacobian will be approximated only if the deriving class does not override the Jacobian method.
(Inherited from DoubleMultiVariableFunction.)
Weights
Gets the concatenated vector of y-value weights for the data sets.
X
Gets the concatenated vector of x-values for the data sets.
XDimension
Gets and sets the dimension of the function domain.
(Inherited from DoubleMultiVariableFunction.)
Y
Gets the concatenated vector of y-values for the data sets.
YDimension
Gets and sets the dimension of the function range.
(Inherited from DoubleMultiVariableFunction.)
Top
Methods
NameDescription
Clone
ICloneable method. Not implemented here. Deriving classes must implement if desired.
(Inherited from DoubleMultiVariableFunction.)
Evaluate(Double)
Evaluate the function at the point x.
(Inherited from DoubleMultiVariableFunction.)
Evaluate(DoubleMatrix, DoubleMatrix)
Evaluate the function at the points X and place the results in Y.
(Inherited from DoubleMultiVariableFunction.)
Evaluate(DoubleVector, DoubleVector)
Fills in the vector of residuals (differences) for the give set of parameters. If y-value weights have been specified the residuals are weighted (multiplied) by the square root of the corresponding weights. This is so that the each residual in the sum square error will be weighted by the weight instead of the weight squared.
(Overrides DoubleMultiVariableFunctionEvaluate(DoubleVector, DoubleVector).)
Jacobian(Double)
Evaluates the Jacobian of the function at the given point.
(Inherited from DoubleMultiVariableFunction.)
Jacobian(DoubleVector, DoubleMatrix)
Virtual method for evaluating the Jacobian of the function at the given point.
(Inherited from DoubleMultiVariableFunction.)
Top
Fields
NameDescription
centralDifferenceDelta_
Sets the delta for using the central difference method for approximating the Jacobian. The Jacobian will be approximated only if the deriving class does not override the Jacobian method.
(Inherited from DoubleMultiVariableFunction.)
xDimension_
Dimension of the function domain.
(Inherited from DoubleMultiVariableFunction.)
yDimension_
Dimension of the function range.
(Inherited from DoubleMultiVariableFunction.)
Top