Click or drag to resize

MultipleCurveFitResidual Class

Calculates the residuals of a MultipleCurveFitFunction with a given set of parameters and data sets.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreDoubleMultiVariableFunction
    CenterSpace.NMath.CoreMultipleCurveFitResidual

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
Public methodMultipleCurveFitResidual(IListDoubleVector, IListDoubleVector, MultipleCurveFitFunction) Constructs a MultipleCurveFitResidual object from the given MultipleCurveFitFunction, data set x and y values, and weights for y values.
Public methodMultipleCurveFitResidual(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
Public propertyCentralDifferenceDelta 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)
Public propertyWeights Gets the concatenated vector of y-value weights for the data sets.
Public propertyX Gets the concatenated vector of x-values for the data sets.
Public propertyXDimension Gets and sets the dimension of the function domain.
(Inherited from DoubleMultiVariableFunction)
Public propertyY Gets the concatenated vector of y-values for the data sets.
Public propertyYDimension Gets and sets the dimension of the function range.
(Inherited from DoubleMultiVariableFunction)
Top
Methods
 NameDescription
Public methodCloneICloneable method. Not implemented here. Deriving classes must implement if desired.
(Inherited from DoubleMultiVariableFunction)
Public methodEvaluate(Double) Evaluate the function at the point x.
(Inherited from DoubleMultiVariableFunction)
Public methodEvaluate(DoubleMatrix, DoubleMatrix) Evaluate the function at the points X and place the results in Y.
(Inherited from DoubleMultiVariableFunction)
Public methodEvaluate(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))
Public methodJacobian(Double) Evaluates the Jacobian of the function at the given point.
(Inherited from DoubleMultiVariableFunction)
Public methodJacobian(DoubleVector, DoubleMatrix) Virtual method for evaluating the Jacobian of the function at the given point.
(Inherited from DoubleMultiVariableFunction)
Top
Fields
 NameDescription
Protected fieldcentralDifferenceDelta_ 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)
Protected fieldxDimension_ Dimension of the function domain.
(Inherited from DoubleMultiVariableFunction)
Protected fieldyDimension_ Dimension of the function range.
(Inherited from DoubleMultiVariableFunction)
Top
See Also